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


Please Help Members By Posting Answers For Below Questions

What is sizeof return in c?

788


What is the use of pointers in C?

834


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

1804


What is getch () for?

884


What is %d called in c?

943


Explain what are its uses in c programming?

792


How do you print an address?

984


What does d mean?

785


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.

2475


How can type-insensitive macros be created?

922


Explain 'far' and 'near' pointers in c.

897


Do you know the use of 'auto' keyword?

866


what are enumerations in C

925


plz let me know how to become a telecom protocol tester. thank you.

1965


What are the types of operators in c?

799