Unit 4 Task 12: Three addition questions

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 4 Task 12 - Three addition questions

← Unit 4 tasks · Solution


Write ask_addition():

Write main() that:

At the very end of the file, call main().

Skills: multiple functions, return and random, a small driver program.