9. Write a program to read marks of a student from keyboard whether the student is pass or fail( using if else)

#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter the marks=");
scanf("%d",&a);
if(a>=33)
printf("Student is Pass");
else
printf("Student is Fail");
getch();
}

#OUTPUT:


Comments

Popular posts from this blog