write a program greater then three numbers without if,
if...else,while,do..while,for,switch statement.
Answer Posted / 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 |
Post New Answer View All Answers
which are the books available in, India for STONE COLUMNS/GRANULAR PILES?
how to create user name stape by stape in cisco router {with command}
if we give you the job AS A PETROLEUM ENGINEER WHAT WILL YOU DO(that is extraordinary) for our company
What is RAC?(Real Application Cluster).Explain in Detail.
hi,i just want to know the best institute to learn oracle in bangalore because i am doing my BE there?
how to write regression test case?what is the difference between Client server & web based Testing? can we able to do UI Testing in web based Testing
i m doing my 3rd yr with only 6 month left to complete it..within this 6 months which is the best nd useful oracle certification program should i do??pls help me out!!
How do aeroplanes fly? Why can some fly up-side down?
hi... i just want to know that how could join the AAI with an B.E back ground??? please help me out.
Explain the following program segment. f(){ int *b; *b=2; }
My gre score is 283 and ielts is 5.5, will i get i20 for this score
I am pavani pursuing 4th B.Tech final semester i want to write the Group 2 Examination , Eligibility of that exam is all degree holders but to hold my Degree 3months are more. but the exam held on 3rd July 2012. i would be complete my B.Tech when exam to be held. so am i eligible to Group2 exam or not , please clarify my doubt.
System Not Getting Shut down Through Software Auttomatically It Will Restart wat is the Problem?
An inversion is an array of numbers is any pair (i,j) such
that i
WHAT HAPPEN WHEN ANY SPINDLE RUN OVER 10 MM HEIGHT ABOVE BOLSTAR IN RING SPINNING FRAME