find error C language
#include
int main()
{
int name, regno, marks;
printf("Enter your Name\n");
scanf("%d", &name);
printf("Enter your provisional registration number\n");
scanf("%d", ®no);
printf("Enter your percentage marks in LPUNEST or in CLASS 12\n");
scanf("%d", &marks);
if (marks>=90)
printf("You have received 50% scholarship");
else if (marks>=80)
printf("You have received 40% scholarship");
else if (marks>=70)
printf("You have received 30% scholarship");
else
printf("Not Eligible for Scholarship ");
return 0;
}
Answers
Answered by
0
Answer:
int name, regno, marks;
printf("Enter your Name\n");
scanf("%d", &name);
printf("Enter your provisional registration number\n");
scanf("%d", ®no);
printf("Enter your percentage marks in LPUNEST or in CLASS 12\n");
scanf("%d", &marks);
if (marks>=90)
printf("You have received 50% scholarship");
else if (marks>=80)
printf("You have received 40% scholarship");
else if (marks>=70)
printf("You have received 30% scholarship");
else
printf("Not Eligible for Scholarship ");
Answered by
0
Answer:
Answer is attached above
Hope it helps
Attachments:
Similar questions