Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a program to print the output as shown below by using while loop. IN C++ 2 1 2 1 3 2 1 4 3

write a program to print the output as shown below by using while loop. IN C++




2
1



2
1


3
2
1

4
3
2
1
5
4
3
2
1

Step by Step Solution

3.45 Rating (152 Votes )

There are 3 Steps involved in it

Step: 1

include int ... 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

Thermodynamics An Engineering Approach

Authors: Yunus A. Cengel, Michael A. Boles

8th edition

73398179, 978-0073398174

More Books

Students also viewed these Programming questions