Lab No.6 Loops Task 1: Use For Loop
Lab No.6 Loops Task 1: Use For Loop
6
Loops
Task 1: use for loop
Write a C++ program that takes table number ‘num’ and starting and ending values (start to end) in
main().
Pass these three arguments to function that prints the table as shown below;
===========
5 * 11 = 55
5 * 12 = 60
5 * 13 = 65
5 * 14 = 70
5 * 15 = 75
===========
Expected Output: