//The following is very simple program that will find the largest of any 3 numbers
#include <iostream>
using namespace std;
int main()
{
int n1, n2, n3, largest;
cout <<"Enter any 3 numbers ";
cin >>n1;
cin >>n2;
cin >>n3;
if(n1 > n2 && n1 > n3)
largest= n1;
else if(n2 >n1 && n2 >n3)
largest= n2;
else
largest= n3;
return 0;
}
write a c++ program to convert binary number to decimal number by using while statement
You can use unlimited number of variables for a structure and you can also declare array of structures.
12
int i, largest=0;do { scanf ("Enter a number (0 to exit): %d", i); if (i>largest) largest=i; } while (i!=0); printf ("Largest number is: %d\n", largest);
program that take three decimal number as input and find the largest among them in assembly language
There is no limit to the number of variables.
There is no "this statement" associated with the question, but the maximum number of points which lie of the graph of a linear equation in two variables is infinite.
write a c++ program to convert binary number to decimal number by using while statement
The statement is true only if either the number is 0, or the variables are all raised to the power 0. In no other case can a variable involved.
write a c++program by using if statement to read a number and check whether it is positive or negative
You can use unlimited number of variables for a structure and you can also declare array of structures.
12
first sort the ten numbers in descending order and print the first number. That will be the largest no
The largest number of immigrants to America before 1860 came from Central and Southeastern Europe.
There are different ways of writing a pseudocode statement but the concept remains, it can be presented: /*Declare variables Total (number (3)) = 0 A (number (2)) =10 B (number (2)) =14 begin Total=A+B end
Write your own prime number program and find out.
the largest amount of land is owned by the smallest number of families