Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the code has to be in c++, please Lab Task We have three tasks to accomplish in this lab session. Write a program to print

the code has to be in c++, please image text in transcribed

Lab Task We have three tasks to accomplish in this lab session. Write a program to print all even numbers between 1 and 100 using a while loop. See the example output below. Number: 2 Number: 4 Number: 6 Number: 8 Number: 10 Number: 96 Number: 98 Number: 100 Write a program to print all odd numbers from 100 to 1 using a for loop. See the example output below. Number: 99 Number: 97 Number: 95 Number: 93 Number: 5 Number: 3 Number: 1 Let the user input a number in this range 2 - 100). Your program should print the multiplication table (from 1 to 9) of that number. See the example below. Input a number from 2 to 100: 67 Multiplication table for number 67: 67 X 1 = 67 67 x 2 = 134 67 X 3 = 201 67 x 4 = 268 67 x 5 = 335 67 x 6 = 402 67 x 7 = 469 67 x 8 = 536 67 x 9 = 603

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

WHAT IS AUTOMATION TESTING?

Answered: 1 week ago

Question

What is Selenium? What are the advantages of Selenium?

Answered: 1 week ago

Question

Explain the various collection policies in receivables management.

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago