Part 6 Finally , put everything together and write a program that lets the user practice a series of random addition and subtraction problems . Begin...
- Attachment 1
- Attachment 2
- Attachment 3
- Attachment 4
Part 6Finally , put everything together and write a program that lets the user practice a series of random addition and subtraction problems . Begin by asking the user for a number ofproblems ( only accept positive values ) and a size for their numbers ( only accept numbers between 5 and 20 ) . The generate a series of random addition and subtraction problems -display the numbers to the user with your digital display functions . Then prompt the user for an answer and check the answer using your check_ answer function . Your program shouldalso keep track of how many correct questions the user answered during their game . Here's a sample running of the program :"How many problems would you like to attempt ? - 5Invalid number , try againHow many problems would you like to attempt ? 5How wide do you want your digits to be ? 5 - 20: 3Invalid width , try againHow wide do you want your digits to be ? 5 - 20 : 5Here we go !What is***
Show more