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 |
difference between multi relational OLAP & multidimensional OLAP
how to hack email id & passward
What is a decade?
My system suddenly get off,when i try to power on then it does not work but when i open it and clean RAM and insert it again, it power on.but after some day same problem? please give the answer (i have also changed RAM it's new.)
why is it unable to download call letter of cusat 2008?
What is the basic difference between injection speed and injection pressure in an injection molding machine?
how much lighting lux need for a common walking area at night time
Explain your experience in Lean Manufacturing and Six Sigma methods?
what is JAR file,JNI,JFC??
. Give the C language equivalents of the following a)Function returning an int pointer b)Function pointer returning an int pointer c)Function pointer returning an array of integers d)Array of function pointer returning an array of integers
write a programe to print this string in reverse order and find out how many times letter c is repeated? string = { c was desined by dennis ritchie}. also find out the lenth of the string.
where is the first engeenering college of Asia