Program:

#include<stdio.h>
int main()
{
 int marks;
 printf("Enter your marks:");
 scanf("%d",&marks);
 if(marks>=80)
   {
   printf("You are a winner");
   }
   return 0;
}

Output:

Enter your marks:90
You are a winner

Leave a Reply

Your email address will not be published. Required fields are marked *