Computer Science, asked by neesan193, 11 hours ago

Write a python program that determines whether a student is eligible for PG course or not. To be eligible, the student must have obtained more than 80% in X and XII examination, and 70% plus marks in Graduation. If the student changes his stream (Science, Commerce, or Arts), then deduct 5% from his Graduation score.​

Answers

Answered by PR4N4V
0

Note: This is not a very efficient Program but it will work

Attachments:
Answered by samratupparige
0

Answer:

sslc = int(input("Enter SSLC percentage: "))

puc = int(input("Enter 2nd PUC percentage: "))

gra = int(input("Enter Graduation percentage: "))

stream_swicth = (input("Enter wether swithed stream or not ? Y/N:"))

if sslc >= 80 and puc >= 80 and gra >= 70 and stream_swicth == 'N':

   print("Pass")

elif sslc >= 80 and puc >= 80 and stream_swicth == 'Y':

   gra = gra - 5

   if gra >= 70:

       print("Pass")

   else:

       print("Fail")

else:

   print("Fail")

Explanation:

Similar questions