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 sizeof return in c?
What is the use of pointers in C?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is getch () for?
What is %d called in c?
Explain what are its uses in c programming?
How do you print an address?
What does d mean?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
How can type-insensitive macros be created?
Explain 'far' and 'near' pointers in c.
Do you know the use of 'auto' keyword?
what are enumerations in C
plz let me know how to become a telecom protocol tester. thank you.
What are the types of operators in c?