Program:

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

Output:

Enter your marks:35
You are a loser

Leave a Reply

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