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 |
is there eligible for computer science engg students to write exams and how much percentage we want to attempt exam based on degree
Why Ammeter is always connected in series in the circuit and Voltmeter in parallel?
14 Answers BEL, College School Exams Tests, DRDO, Electrical Tech, UOB,
What is W-model in Software Engineering?
Q1.What do you mean by static routing and dyanamic routing? Q2.What do you mean by template in c++? Explain. Q3.What do you mean by VSAT in data communication?
what does the interviewer mean by saying "have a good life " cheerfully at the end of an HR interview??? is this positive to be selected reply yes or no
what is the significance of partial derivatives.
Describe VCO?
Why am i appreciated?
one fuse has following data 80A 415V -6.9W HN SIZE 00 100 KA gG Please tell me about what is the mean of 100kA gG
Which software model is best suited for the Maintenance kind of project?
what do you mean by data abstraction?
How we calculate steam turbine governor linkage assembly?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)