LAB MANUAL 2022-2023
LAB MANUAL 2022-2023
F
BASIC ENGINEERING DEPARTMENT-1
ACADEMIC YEAR 2022-2023
LAB MANUAL
Problem 1:
Ramu has reached the finals of the Annual Inter-school Declamation contest. For the
finals, students were askedto prepare 10 topics. However, Ramu was only able to
prepare three topics, numbered A, B and C — he is totally blank about the other topics.
This means Ramu can only win the contest if he gets the topics A, B or C to speak
about.On the contest day, Ramu gets topic X. Determine whether Ramu has any
chances of winning the competition. Print "Yes" if it is possible for Ramu to win the
contest, else print "No".
Problem 2:
Gopal likes problems solving. If he solves one problem on first day, on second day he
solves two more than first day’s count and so on. Find the number of problems
solved on the nth day. If he takes p minutes to solve each problem, find the total
hours he spent on problem solving in that month.
Problem 3: