Question: Exercise 3: Write a program that will calculate the sum of numbers from 1 to 15. If the user enter a negatif number the program
Exercise 3: Write a program that will calculate the sum of numbers from 1 to 15. If the user enter a negatif number the program will stop. (Use for loop with while or do-while). D I. Lab exercices (Loops and conditions)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
