Question: Part 2 Exercise 1. Create a new project and give your project the name La 2 Add a source file to your project called Reminderfeste


Part 2 Exercise 1. Create a new project and give your project the name La 2 Add a source file to your project called Reminderfeste 3. Write a C++ program to tedy softender of a division (think of at lea quis for clementary school students in the program will ask a students questions one by one and check this The program prints the number of connect swers empted by the student. The fund te the the library can be wed to produce the positive inter is cach que elicity, the program will restrict the dividend to be a two-digit integer within the map of 1099) and the divisera me digit integer te. 1. 2. 3. 4. 5. 6. 7. The power by nem excluded in this program. Then the program should show how many have been answered correctly Refer to the sample out below when the famille 01. mat the Oy 2. What is the time to by 02. What is the center of die by 04. What is the cei a 5 dies by 05. What is the reader 27 w ty? nawets out of tre correct 01 was nered Intly. and St. The underlined numbers are the input sterod by the endest as the newens to the question Te facilitate your programming su come program demuestrating bow to generate a random integer between two specified benimle Sample program Declare ribe to store 11 Genette and be beste ein. Pour des Technowcy og ung 4 Compile your program, recueil, and test cafe Lindomen Important note: Your program solid and duplicate the prof de dividendant by the two competede, die hyska 2. Your program should follow the input and prema specified in part 2. Marks will be deducted if you failed to de Part 2. Exercise 1 2 3. Create a new project and give your project the name Lab Add a source file to your project, called Remainderfest.cpp Write a C++ program to test students' ability to find the remainder of a division (think of it like a quiz for elementary school students or junior formers. The program will ask a students questions one by one and checks their answers. The program prints the number of correct answers attempted by the student. The function rand) from the math library can be used to produce two positive integers in each question. For simplicity, the program will restrict the dividend to be a two-digit integer (within the range of 10 to 99) and the divisor a one-digit integer (i.c. 1, 2, 3, 4, 5, 6, 7, 8, 9). The possibility of division by zero is excluded in this program. Then the program should show how many questions have been answered correctly Refer to the sample output below when the main function is called 01. nat is the remainder of 65 divided by ?? 2 oz. What is the remainder of divided by 27 03. What is the renainder of 40 divided by 472 04. What is the remainder of 25 divided by 4? 3 05. what is the remainder of 17 divided by 5? 3 answers out of 5 are correct. Q1 was answered incorrectly. 05 was answered incorrectly. The underlined numbers are the inputs entered by the student as the answers to the questions To facilitate your programming start, a sample program demonstrating how to generate a random integers between two specified bounds is given as follows #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
