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 are basic step involved in embedded system software development?
what will be the value of c in c=x++ + ++x + ++x +x if c=10?
c ka base kya hota hai? what is communication?
Show the forces acting on a ladder
if u have question papers/sample papers of any of PSUs,plz send me at dinesh.pandey3@gmail.com
which is best car to buy in india, if the budget is below or equal to 3.5 lakhs?
SQL How can make delete and insert in one query
where is interrupt vector table is located??
What is the weight of a foot square block of bronze.
can i get some win vista notes
what is difference between server 2008R1 and 2008 server R2?
if your monitor is not started with your cpu, but start when monitor attach to another cpu then where is the problem?