Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

I need ECIL last year Question papers for COMPUTER SCIENCE ENGG. Please

4126


how to send request to the direct server rather than proxy server

2042


what are the steps u follow to create an custom idoc program in which environment u create the program?

2030


Write a program to input 10 elements in an array and seperate even and odd numbers, positive and negative between them ?

1781


hi, please send me "state bank of india", last 5 years question paper with answers to my mail id.

2058


5. Can you work well under deadlines or pressure?

2647


I want to test the applications installed on the client machine using the QTP installed on the server machine.But the requirement is like that client machines do not have there own CPU's they are just dummy workstations on which the applications are excesible.So where all places QTP should be insalled in theis client server architecture.How many licenses required of what type.Please explain in details .Its urgent. Thanks

1955


WHAT HAPPEN WHEN ANY SPINDLE RUN OVER 10 MM HEIGHT ABOVE BOLSTAR IN RING SPINNING FRAME

1836


How can we share data between actions in qtp..pls tell me

2192


I am getting the following error,when I am running the script, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. My Script: Itemname=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Print Itemname Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").Select "Itemname" Any Help? Thanks, Uma

2245


sir, plz send me the question regarding DMS gr1 questions of previous year as my exam is on 27/09/08...thanking u in advance...

2218


I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.

1991


explain overloaded constrator © constractor

2129


What do you like and dislike about working for this organisation?

4800


What is the meaning of int p(char*a);

1084