Take screenshots of your work a) Write a Java program, which prints numbers 1 to 10 then terminates. b) Write a simple Java program that prints the days of the week. c) Daniel has the following data (10,20,30,40,50,60,70,80,90,100), he wants to print all the data except 40,50,and 60. Write a Java program to guide him on how he can go about it. d) Write a java program that prints the months of the year that have 31days.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Take screenshots of your work
a) Write a Java program, which prints numbers 1 to 10 then terminates.
b) Write a simple Java program that prints the days of the week.
c) Daniel has the following data (10,20,30,40,50,60,70,80,90,100), he wants to print all the data except
40,50,and 60. Write a Java program to guide him on how he can go about it.
d) Write a java program that prints the months of the year that have 31days.
Step by step
Solved in 4 steps with 8 images