Write a program that take marks of a student and display “ Pass “ if marks are greater then 49.
Write a program that take marks of a student and display “ Pass “ if marks are greater then 49.
#include <stdio.h>
main()
{
int m;
printf("enter te marrks");
scanf("%d"&m);
if (m>=49)
{
printf("pass");
}
else {
else {
printf("fail");
}
}
Comments
Post a Comment