Print the multiplication table of the number 5 (from 5 to 50) using a for or a while loop. Example Output: 1 * 5 = 5 2 * 5 = 10 3 * 5 = 15 4 * 5 = 20 5 * 5 = 25 6 * 5 = 30 7 * 5 = 35 8 * 5 = 40 9 * 5 = 45 10 * 5 = 50 Rubrics • 4 point(s) - Correct implementation of loop. • 3 point(s) - Correct output. • 3 point(s) - No syntax errors.
Added by Christopher M.
Close
Step 1
We need to create a loop that will iterate from 5 to 50. Show more…
Show all steps
Your feedback will help us improve your experience
Jennifer Stoner and 69 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Using a for loop, write a C++ program to find and display the value of the function y ,given as following : y= 10 x4-√3𝑥 + 15, for the values of x from 5 to 1 , with a decrement of 0.5
Willis J.
Using a while loop, write a C++ program to find and display the value of y ,given as following : y = 15 x³ +√2𝑥 − 3, for the values of x in between 2 and 10, with an increment of 1
Write a C++ program to count the sum of integers which are divisible by 3 or 5. You should prompt the user to insert an integer which indicates the range of numbers from 1.
John B.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD