Computer Science, asked by yash4uoo, 9 months ago


You want to calculate the total runs made by Sachin Tendulkar only in terms of centuries
and half-centuries in test matches. Write a program in the QBASIC format taking the
numbers of centuries and half-centuries as input. Display the total runs made by Sachin
in centuries and half-centuries separately.​

Answers

Answered by FIRE07
9

Answer:

IN PYTHON

Explanation:

CENTURY=int(input("enter ths no of century made by sachin:"))

HALF_CENTURY=int(input("enter the no of half century made by sachin:"))

total_runs=CENTURY*100 + HALF_CENTURY*50

print(total_runs)

hope the code is use full defebetly it will work without any errors.

plzz mark it as brainlist. answer.

Similar questions