1.6, 6.1, 6.166, 6.61, and 6.66.
Please restate your problem. When dealing with factors you usually have to compare two or more numbers.
it depends on the numbers involved.. if you have examples of the fractions decimals and square roots i would be glad to help you
Perhaps we are thinking of the number 898? If so, then 8+9+8=25. But I am confused by the use of the plural "numbers", when there is only one largest. If I mistake the question, please rephrase it.
The numbers you have given, in ascending numerical order, are:2/37/104/55/6
It is 2 which is the only even prime number
1. Read the 3 nos a,b,c 2. Let larget = a 3. if b > largest then largest = b 4. if c > largest then largest = c..... If you have to process more nos, read all of them in an array. Assume the first element be largest, do comparison through all elements of the array.... Similar algorithm can be developed for finding the lowest also. /*lab practice 2 damithguruge question 4 */ #include<stdio.h> int main() { int num1,num2,num3,num4; int smallest; printf("Please enter a number1"); scanf("%d%*c", &num1); printf("Please enter a number2"); scanf("%d%*c" ,&num2); printf("Please enter a number3"); scanf("%d%*c", &num3); Printf("Please enter a numbe4r"); scanf("%d%*c", &num4); /* num1 set as the smallest */ smallest=num1; if(smallest > num2) then smallest=num2; else if smallest >num3 then smallest=num3; else if smallest>num4 then smallest=num4; printf("smallest number:%d\n,smallest"); return(0); endif endif endif }
Largest to smallest: Virginia Beach Norfolk Chesapeake Richmond Newport News Arlington Hampton Alexandria
The largest 3-digit number is 999The smallest 3-digit number is 100.There would be 999 of them, but the first 99 don't count. So there are 900 of them.
Please restate your problem. When dealing with factors you usually have to compare two or more numbers.
write these numbers in order start with the smallest 1.96 1.54 0.87 6.80 4.43
chihuahua
It isn't clear what "sequence of numbers" you refer to... or, for that matter, what you mean by "black hole attack". If that's some video game, please clarify.
it depends on the numbers involved.. if you have examples of the fractions decimals and square roots i would be glad to help you
the problem is this oi44.tinypic.com/ogxeo0.jpg please answer with both answer asap please.
Perhaps we are thinking of the number 898? If so, then 8+9+8=25. But I am confused by the use of the plural "numbers", when there is only one largest. If I mistake the question, please rephrase it.
The numbers you have given, in ascending numerical order, are:2/37/104/55/6
numbers please????