Computer Science, asked by drsunitharobert, 8 months ago

Write ONLY conditional statements for the following:- [NOT THE PROGRAM] Print “SELECTED ” if a batsman have scored atleast 90 runs in any 2 out of three matches else print “SORRY !”

Answers

Answered by bktbunu
1

Explanation:

count = 0

if score1 >= 90 : count += 1

if score2 >= 90 : count += 1

if score3 >= 90 : count += 1

if count >= 2 : print("SELECTED")

else: print(“SORRY !”)

Similar questions