Write a program that reads two numbers and prints larger
Answers
Answered by
1
Answer:
# include <stdio.h>
#include <conio.h>
void main( void)
{
clrscr();
int a,b ;
printf("\n Enter First Number :");
scanf("%d", & a);
printf("\ n Enter Second Number :");
scanf("%d", & b);
if (a >b)
printf("\n%d is Larger", a);
else
printf("\n %d is Larger", b);
getch();Explanation:
Similar questions