Find greatest number out of 10 number without using loop.
Answer Posted / joshi
/* for same qustion this */
void main()
{
int a,b;
clrscr();
printf (enter the two number :);
scanf("%d%d",a,b);
if (a>b)
printf ("%d\n greater number",a);
else
printf ("%d\n greter number",b);
getch();
}
| Is This Answer Correct ? | 11 Yes | 48 No |
Post New Answer View All Answers
What are the basic data types associated with c?
How the c program is executed?
What is call by reference in functions?
What are the header files used in c language?
What is #include stdio h?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What are pointers really good for, anyway?
What is actual argument?
What is the default value of local and global variables in c?
How can I dynamically allocate arrays?
What is the purpose of scanf() and printf() functions?
What is the best way to store flag values in a program?
What is break statement?
Explain 'bit masking'?
Explain what is the use of a semicolon (;) at the end of every program statement?