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

Read two numbers from keyboard and find maximum of them?

Answer Posted / venugopal

#include<stdio.h>
#include<conio.h>

main()
{
int first,sec;
clrscr();
printf("enter two no's");
scanf("%d %i",&first,&sec);

if(first>sec)
{
printf("%i is big",first);
}
else
printf("%d is big",sec);
getch();
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static memory allocation? Explain

1107


What is malloc return c?

1034


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3831


string reverse using recursion

2479


How does pointer work in c?

1129


how can use subset in c program and give more example

1998


How many keywords are there in c?

1082


What is the scope of an external variable in c?

1050


In which language linux is written?

1234


Write a program to print fibonacci series without using recursion?

1150


What is the purpose of realloc()?

1149


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6876


Differentiate fundamental data types and derived data types in C.

1036


Explain the meaning of keyword 'extern' in a function declaration.

1155


Write a program to print "hello world" without using a semicolon?

1071