write a C program to find minimum and maximum from given input matrix.
Answers
Answered by
0
#include<stdio.h>
int main()
{
int a, b;
printf("\nEnter first number: ");
scanf("%d",&a);
printf("\nEnter second number : ");
scanf("%d",&b);
if (a>b)
{
printf("\n %d is largest. ", a);
}
else printf("\n %d is largest.",b);
return 0;
}
Similar questions