1.How to find
lowest number.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf(“Enter the value of a”);
scanf(“%d”,&a);
printf(“Enter the value of b”);
scanf(“%d”,&b);
if(a<b)
{
printf(“a is less than b”);
}
else
{
printf(“b is less than a”);
}
getch();
}
No comments:
Post a Comment