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
what is the pri request of binary search
anybody, Please send me the NIC(scientific officer/programmer) model questions papers to this mail id:imtiyazahamed14@gmail.com
Iam preparing for Visakhapatnam Management Trainee 2009 entrance exam.. If anybody have Visakhapatnam Management Trainee Interview questions Pls forward to my mail id srikanth.avanthi@gmail.com .. It is kindly request..
please answer the following question: A table contains the monthly sales data for the 12 months of a year and for the 4 sales zones where each zone has 8 districts.The table is defined in WORKING-STORAGE SECTION.What is the size of the defined table in number of bytes? write statements to calculate the total sales for each month.
can u tell me placement peoceduers and placemnt format of hpcl.
What would you like to discuss? Your work-ex or Your Engineering?
could i know the selection pattern at hpcl, am an undergradute in chemical technology, but my sujects or course do not figure out antwhere on the lists.
Write a regular expression for "Capgemini Services Pvt.Ltd"
What is histogram? why and how it is used?
Explain different parts of an instruction. What does the addressing mode bit specifies?
What is the aim of Value Engineering?
Write a function to print all the combinations of a string both uppercase and lowercase without altering the position of each letter.
Please help to write testcase for ECG machine
what are differences between composition and inheritance in c
How does Earthquake-proofing work?