Objective: Practice with repetition and while loops. Multiplication Flashcards Write a program for your cousin in elementary school to practice multiplication flashcards. Your cousin (your user) should be able to enter in the number of flashcards they want to practice. Then they should be shown that many flashcards, where each flashcard is a multiplication problem of two random numbers between 0-9 (inclusive). For each flashcard they should be prompted to provide an answer. Then they should be shown if they got it correct or incorrect. At the end, they should be shown how many they got right out of how many they practiced. Mimic the sample runs below: Enter number of flashcards: 3 ==== | 31 1x01 --- <=0 Correct! ==== | 41 |x9| --- = 32 Incorrect (36) ==== 1 91 1x71 ➖➖➖➖ =63 Correct! You got 2/3 correct. Come practice again soon!
Objective: Practice with repetition and while loops. Multiplication Flashcards Write a program for your cousin in elementary school to practice multiplication flashcards. Your cousin (your user) should be able to enter in the number of flashcards they want to practice. Then they should be shown that many flashcards, where each flashcard is a multiplication problem of two random numbers between 0-9 (inclusive). For each flashcard they should be prompted to provide an answer. Then they should be shown if they got it correct or incorrect. At the end, they should be shown how many they got right out of how many they practiced. Mimic the sample runs below: Enter number of flashcards: 3 ==== | 31 1x01 --- <=0 Correct! ==== | 41 |x9| --- = 32 Incorrect (36) ==== 1 91 1x71 ➖➖➖➖ =63 Correct! You got 2/3 correct. Come practice again soon!
Chapter5: Looping
Section: Chapter Questions
Problem 7RQ
Related questions
Question
Please answer using a loop use while please
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning