Create
a
program that will count and display the odd and even numbers among the
ten(10)
input
values
using a two
dimensional array.
Suppose the mean amount of cholesterol in eggs labeled “large” is 186 milligrams, with standard deviation 7 milligrams. Find the probability that the mean amount of cholesterol in a sample of 144 eggs will be within 1.5 milligrams of the population mean.
Compare and contrast the reproduction of perch and shark
Frog lungs are quite small, give a brief explanation for such formation
a. Determine the sets A and B, if A − B = {1, 2, 7, 8}, B − A = {3, 4, 10} and A ∩ B
= {5, 6, 9}.
b. Verify A ∪ (A ∩ B) = A using the rules of set algebra
Using the following chart
Sales
Commission
ratio
10%
15%
Less than 10000$
Greater than or equal
10000$ and less than
15000$
Greater than or equal 15000$
20%
Commission = sale * commission ratio
Sample Run:
enter the amount of your sales:
your commission is 1912.5
#include <iostream.h>
void main()
{
double temperature;
cout<<”Input Temperature :”;
cin>>temperature;
if (temperature>=80)
{cout<<”go swimming”;}
else if (temperature>=50)
{cout<<”go running”;}
else
{cout<<”stay inside”;}
}
A researcher of a cardboard manufacturing company would like to know the estimated thickness of the cardboard a machine produces How many cardboards should he measure if he wants to be 99% confident that the estimate is accurate to 1 mm. Study shows that the standard deviation is 3mm
Write a complete program that prompts the user for the radius of a sphere, calculates and prins the volume of that sphere. Use a function sphere volume that returs the results of the following expression: (4/3)*π*r3 which is equivalent to (4.0/3.0) *3.14159*pow(radius,3) in C++ code. Sample output Enter the length of the radius of your sphere: 2 volume of sphere with radius 2 is 33.5103