Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ATk4/a/MjUwNzgwMjY3OTQy/details EXERCISES FOR WHILE LOOP PARTZ pdf Problem 7 Open with Write a program that helps students learn multiplication. Print a multiplication question and the

image text in transcribed

ATk4/a/MjUwNzgwMjY3OTQy/details EXERCISES FOR WHILE LOOP PARTZ pdf Problem 7 Open with Write a program that helps students learn multiplication. Print a multiplication question and the student then types the answer. Your program checks the student's answer. If the answer is wrong, print "No. Please try again", then let the student try the same question repeatedly until the student finally gets it right. If it is correct, print "Very Good!". 6 x 7 ? 40 No. Please try again 65 No. Please try again 42 Very Good! 5) Ask the user to input a series of numbers, ends with -1. Count the number of odd numbers. . Count the number of even numbers Input number (-1 to stop): 2 3 10 5 6 -1 Total of odd numbers: 2 Total of even numbers: 3 4) Write a program that will process a number of grades. The program counts the total number for each grades. A user can stop entering the grade by pressing the '?' key. The program will then display the total number of grades. The grades can either be A, B, C or D only. If the user enters other than A, B, C or D, ask user to enter again. Enter the letter grades. Enter the '?' character to end input. Grade 1: A Grade 2: M Page 1 I 2 + Grade 5A 54

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions