write a program greater then three numbers without if,
if...else,while,do..while,for,switch statement.
Answers were Sorted based on User's Feedback
Answer / mani kandan.s
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c,printf("Enter the a,b,c values"));
a>b&&a>c?printf("A is big"):b>c?printf("B is big"):printf
("C is big");
getch();
}
Is This Answer Correct ? | 11 Yes | 2 No |
Answer / 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 |
What filter types are there?
hi........ i am a student of computer science. i want to earn some money on net so that i can help my parents. so please suggest me some sites which give online part time jobs without any registration charges. please help me. i will be very thankful to you. varinder.
why is it unable to download call letter of cusat 2008?
can oracle driver be directly connected with odbc driver??
Including stoppage speed of a bus is 54km/hr while excluding stoppage of bus is 45km/hr.Find the time that the bus has been spread on stoppage?
Can one be shocked holding a wire carrying a very large current with a low voltage source?
What are the main differences between Exchange 5.5 and Exchange 2000/2003?
tell me about exchange server 2003 and what is the difference between exchange 2000 and 2003 server,what are the type of connectors ?
HOW WE CAN CORRELATE THE MA\ECHANICAL POWER TO ELECTRICAL POWER. SUPPOSE IF I WANT A PUMP OF PUMPIG 200 LPM AT 20 METER HEAD MENAS WHAT IS THE POWER NEEDED FOR PUMP IN ELECTRCAL AND HOW CAN WE GET IT
sir , i am prparing for IOCL engineergin post please send me the old placement papers
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....
difference between w2k and win xp....