write a program greater then three numbers without if,
if...else,while,do..while,for,switch statement.
Answer Posted / devinder singh
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter the 1st no. ");
scanf("%d",&a);
printf("\n Enter the 2nd no. ");
scanf("%d",&b);
printf("\n Enter the 3rd no. ");
scanf("%d",&c);
if(a>b)
printf("\n A is greater ");
if(b>c)
printf("\n B is greater ");
if(c>a)
printf("\n C is greater ");
getch();
}
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the Boundary value analysis and Equlance class partition for select * from emp
what is the difference between oracle 8i vs 9i
3. Tell me about a time when you had too many things to do and you were required to prioritize your tasks.
Hai friends this is Dara s. solanki, i done in B.Sc.(IT) i have an 2.3 years of exp in Manufacturing company in MIS giving support in SAP , 1 year back i did Sap course In MM Module. am trying from the day one to enter into the sap field but i was not.i kindly requesting all, please suggest me how to enter in to the SAP field. Looking for a job . i please help me and having any thing please let me know . i am in bangalore. my mail id is Dara.solanki@gmail.com. 8431455753
How would Nvidia increase the core clock speed anymore?
What is the pressure in co2 cartridge in a DCP 5 kg extinguisher.
please send aptitude test papers for reference with answers
what is the class of generator A b & c
what is b tree
how am i supposed to convert a class program in C++ to Matlab? Do i also need to make classes in matlab too or I can do it without making classes???Can somebody help....
computer is male or female.....???
Explain momentum?
write a pgm to accept an array of names & name & check whether the name is present in the array. return the count of occurance. use following array as input; {"Dave","Ann","dev","merry"}
What is VAT Account determination ? and how we can map in SAP ?
i need to alone print a number no text by using if statement .say some idea