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
What is the purpose of the statement: strcat (S2, S1)?
Why does everyone say not to use gets?
What is #include stdio h?
Do variables need to be initialized?
Explain what is the benefit of using an enum rather than a #define constant?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Differentiate Source Codes from Object Codes
Is it possible to pass an entire structure to functions?
What are the standard predefined macros?
What is the purpose of the preprocessor directive error?
What is variable initialization and why is it important?
Explain low-order bytes.
Is it better to use a macro or a function?
Can you please explain the difference between strcpy() and memcpy() function?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?