Science, asked by vinnyvineetha1234, 1 day ago

accept the following from the user and calculate the percentage of class attendance:a total number of working days b. total number of days for absent after calculating percentage show that,if the percentage is less than 75,than student will not be able to sit in exam​

Answers

Answered by suchismitananda68
1

Answer:

i don't know the answer bt this is a good question i will try it in my copy

Answered by Plaban25
2

Answer:

number_of_presence = int(input("Enter total number of working days > "))

number_of_absence = int(input("Enter number of days absent > "))

percentage= (number_of_presence - number_of_absence) / number_of_presence * 100

print("Your percentage of class attended is: ", percentage)

if percentage < 75:

print("You will not be able to sit in exam.")

else:

print("You will be able to sit in exam.")

Similar questions