prev


Modular Division Operator

15. Biggest of two integers (27.6.2009)

/*
Program# 15
date : 25-12-2008
Biggest of two numbers
*/

#include <stdio.h>
main(){
int a,b;
printf("\nEnter two integers : ");
scanf("%d %d",&a,&b);
if(a>b)
printf("Biggest number : %d\n",a);
else
printf("Biggest number : %d\n",b);
}

output:
Enter two integers : 35 80
Biggest number : 80

next
blog comments powered by Disqus