Question
1 Write down a function to toggle CASE of each character of a string. For example, if the given input is Abcd56gH, then it produces
1 Write down a function to toggle CASE of each character of a string. For example, if the given input is "Abcd56gH", then it produces "aBcD56Gh". 15
2 Consider int num[10][4] holds the four quiz marks of a class of 20 students. Write a program to find out
i. Total quiz marks of all the quizzes for each student.
ii. Sum of BEST THREE QUIZZES of each student
iii. Student count who got more than 14 in at least TWO quizzes.
3 Consider two dice are tossed. Depending on the sum of two outputs (say, x and y) of the dice, the following rating is given.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started