Code:
#include<stdio.h>
int main(){
int s1,s2;
printf("Enter the number of students in college 1\n");
scanf("%d",&s1);
printf("Enter the number of students in college 2\n");
scanf("%d",&s2);
if(s1<s2)
printf("College 2 is better");
else
printf("College 1 is better");
return 0;
}
No comments