Supposed that the heights of Filipino high school students are normally distributed with a mean of 158 cm and a standard deviation of 3 cm.
a. what is the area and probability of students with at least 147 cm and at most 168 cm height?
b. what is the area and probability of students with 152 cm height from the mean?
c. what are the heights of students who belong to the 80th percentile?
In this task, you are being asked to write a loop in Java.
Write a program that uses while loops to perform the following steps:
a) Prompt the user to input two integers: startingNum and endingNum (startingNum must be
less than endingNum).
b) Output all even numbers between startingNum and endingNum.
c) Output the sum of all even numbers between startingNum and endingNum.
d) Output the numbers and their squares between startingNum and endingNum.
e) Output the sum of the square of the odd numbers between startingNum and endingNum.
1. Create a program called WhileLoops.java. All loops will be written in this file.
2. Create appropriate variables and assign values using a Scanner object.
3. Correctly display appropriate messages.
On complete combustion, 0.246 g of an organic compound gave 0.198 g of CO2 and 0.1014 g of H2O. What is the ratio of carbon and hydrogen atoms in the compound?
Why is it important to position the JWST behind the Earth?
Write a program which takes a 9-digit number input from user, converts it into its reverse
No loops you can use only conditional structures.
Write a program which takes a number n as input and prints YAYY if the sum of all digits except the rightmost digit is equal to the rightmost digit., otherwise print OOPS. For example: If user enters 2237, it will print YAYY because 2+2+3 is equal to 7. Whereas, if user enters 3425, it will print OOPS because 3+4+2 is not equal to 5.
you can only use conditional structures . NO loops.
Paula and Danny want to plant evergreen trees along the back side of their yard. They do not want to have an excessive number of trees.
Write a program that prompts the user to input the following:
The program outputs:
Format your output with setprecision(2) to ensure the proper number of decimals for testing!
The recent global development of Russia invading Ukraine has led to USA and European countries imposing sanctions on Russia. Given that Russia is a major player in OPEC, discuss the implication of this in South African economy.
An egg distribution company uses different sizes of packings for eggs, that is, 30 eggs packing, 24 eggs packing, 18 eggs packing, 12 eggs packing and 6 eggs packing. Write a program which prompts user to enter total number of eggs (input validation is always must) to be packed and then calculate how many packings of each size will be possible. Also tell if there will be any eggs left to be packed.
Not to use Loops , functions,arrays and pointers.
Get the length and width of a rectangular field.Calculate the area and perimeter and display it