Pseudocode, Flowchart and Python code for the
following programming problem. (No global. Pass and return.
Synchronize.) Write a program that will allow a student to enter
their name and then ask them to solve 10 mathematical equations.
The program should display two random numbers that are to be added,
such as: 247 + 129 The program should allow the student to enter
the answer. The program should then display whether the answer was
right or wrong, and accumulate the correct values. After the 10
questions are asked display the student name, and the number
correct. You might consider the following functions: • A function
that allows the student to enter their name. • A function that gets
two random numbers, anywhere from 1 to 500. • A function that
displays the equation and asks the user to enter their answer. • A
function that checks to see if the answer is right and accumulates
the number right. A function that displays the student name and the
number right?
Pseudocode, Flowchart and Python code for the following programming problem. (No global. Pass and return. Synchronize.)
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am