write a programme to enter some number and find which
number is maximum and which number is minimum from enterd
numbers.
Answer Posted / hari.11
#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d", a>b ? a : b);
return 0;
}
for further queries and discussions, visit..
http://forum.campusmaniac.com/
http://www.campusmaniac.com/
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
If I have a char * variable pointing to the name of a function ..
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Is c compiled or interpreted?
What does 4d mean in c?
What is a pointer in c?
What Is The Difference Between Null And Void Pointer?
Explain 'bus error'?
What are external variables in c?
What are # preprocessor operator in c?
Is it cc or c in a letter?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What is c language used for?
Write a program to check palindrome number in c programming?
What does != Mean in c?
What are the types of macro formats?