Initial Basics – Algebra – Problem #39
IIT Kharagpur CS10001 / CS11001 Programming and Data Structures Lab Question Archive
Difficulty: Medium
Problem Statement
Write a C program which reads the marks of a student in Physics, Chemistry, and Mathematics, and stores them in integer variables p, c, m. The program should print (Eligible/Not Eligible) based on the following eligibility criteria for admission to a degree course: Marks in Maths >=65 Marks in Phy >=55 Marks in Chem>=50 Total in all three subject >=190 or Total in Math and Physics >=140