/*Write a c program to find the largest of two numbers */ #include <stdio.h> #include <stdlib.h> int main() { int a,b ; printf("Enter two numbers:\n"); scanf("%d%d",&a,&b); if(a>b) printf("%d is largest number.\n", a); else printf("%d is largest number.",b); return 0; }
Enter two numbers: 62 52 62 is largest number.
No comments:
Post a Comment