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

Program to find larger of the two numbers without using if-else,while,for,switch

Answer Posted / vignesh1988i

#include<stdio.h>
#include<conio.h>
void main()
{
int a=90 , b=-89;
(a>b)?printf("a is larger") : printf(" b is larger ");
getch();
}

thank u

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is time complexity c?

1000


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3975


In a switch statement, explain what will happen if a break statement is omitted?

1076


What do you mean by scope of a variable in c?

1015


write a program to display all prime numbers

1973


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

3179


What is dynamic dispatch in c++?

1066


What are the standard predefined macros?

1148


What is else if ladder?

1025


how to write optimum code to divide a 50 digit number with a 25 digit number??

3270


Explain a pre-processor and its advantages.

1140


Describe the difference between = and == symbols in c programming?

1379


Is c high or low level?

1011


how to build a exercise findig min number of e heap with list imlemented?

2077


How are Structure passing and returning implemented by the complier?

1171