int n = 0;
while( (n*n) <= 10000 ) {
++n;
}
what is if(!(str[i]==32))
Use the following algorithm (written in pseudocode). Let largest be the lowest possible real number. Let smallest be the greatest possible real number. Repeat while there is input... { Read real number r from input. If r is greater than largest then let largest be r. If r is less than smallest then let smallest be r. } End repeat. Let range be largest minus smallest. Output range.
Write a program which takes the gender and salary ,the age from user. the program should calculate and display the following information. i. If gender is male and age is greater >=18,then the tax =5%of the salary. ii. If gender is female and age is >=18,then tax=3%of salary. The program should display the output as follows: Gender = Age = Tax = Salary before tax = Salary after tax =
How to write a program for secant method by mathematica
final double[] ns = new double[10]; final Random rnd = new Random(System.currentTimeMillis()); // Fill... for (int i = 0; i < ns.length; ++i) { ns[i] = rnd.nextDouble(); } // Get largest/smallest... double largest = Double.MIN_VALUE; double smallest = Double.MAX_VALUE; for (double n : ns) { if (n > largest) { largest = n; } if (n < smallest) { smallest = n; } } // largest and smallest are now the proper values.
The smallest 5 digit number you can write is 10000.
10000 or 10000. Although it may also be written as 10000.0, the second version implies a greater degree of accuracy.
k
what is if(!(str[i]==32))
Name two variables x and y. Divide the largest by smallest. If remainder is zero then the smallest is the HCF.
1 2 3
9753/10000 = 9753 ÷ 10000 = 0.9753
10000 is a numeric value.
7209*10000 = 72090000.
7/10000
7/10000
write a c program to fine largest/smallest of 3no (using ?:ternary operator/conditional operator)