Computer Science, asked by jeevannaani201918, 1 month ago

Leve
Find the output for the following
years=10
if(years==100):
print("Century")
elif(years==75):
print("Platinum Jubilee")
elif(years==50):
print("half century")
elif(years==25):
print("Silver Jubilee")
elif(years==10):
print("Decade")
else:
print("nothing")​

Answers

Answered by tseries12345678901
0

Answer:

For the input number this program will find wether a number matches the specific number wether it is a century, platinum jubilee , silver jubilee or a decade. If the number specified isn't

one from the given, 100,75,50,25 or 10 it'll supply nothing.

Please mark me as the brainliest

Similar questions