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...

biggest of two no's with out using if condition statement

Answer Posted / jasna.c

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,big;
printf("\nEnter the two numbers ");
scanf("%d%d",&a,&b);
big=(a>b)?a:b;
printf("\n The biggest number is %d",big);
getch();
}

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general form of a C program?

1015


What is operator precedence?

1188


What is the stack in c?

1119


What are the different types of control structures?

1027


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2633


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

1100


Can you write a programmer for FACTORIAL using recursion?

1021


How can I find out how much free space is available on disk?

1043


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1218


Explain how can you be sure that a program follows the ansi c standard?

1451


Can one function call another?

1100


What is f'n in math?

1052


What are the benefits of c language?

1159


Is void a keyword in c?

973


Why is c called a mid-level programming language?

1192