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 |
I have attended offcampus conducted by polaris chennai.And i have cleared all rounds on 10th June 2014.They collected all my marksheet xerox and address proof and said that they will send me offer letter in 3 days.. But more than 15days passed but still i didnt receive any information. I am lot depend on this offer... so when can i expect offer letter?? will they surely send me offer letter?
what happens if an error occurs in constructor or destructor.
How will a tester be sure that He’s covered the entire functionality in his Test case and not missed out anything?
Hi All... PLease send me if anyone have "Information Security Officer" Aptitude papers. Please Mail me at mannusanghi@gmail.com
Explain your experience in Lean Manufacturing and Six Sigma methods?
How to freely move a ball in graphics mode.
who are egoless programmers?
what are the various height of GSM mount and its base width ashim.port@gmail.com
Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given address if the accumulator not equal to zero) RET(return from a subroutine) ADB (add the contents of register B to the accumulator and save result in the accumulator).
what is polymorphism?
A number when divided by D leaves a remainder of 8 and when divided by 3D leaves a remainder of 21 . What is the remainder left, when twice the number is divided by 3D?
Why does the 'divisibility by 3' rule work?
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)