Question: Using basic c++ write a separate code for the following problems. 3. Conversion from Kilograms to Pounds both for and while loops Write a program

Using basic c++ write a separate code for the following problems.

3. Conversion from Kilograms to Pounds both for and while loops

Write a program that converts kilograms to pounds. Start from 1 kg and displays up to 200kgs but in steps of 2.

1kg = 2.2 pounds

Output:

Kilograms Pounds

------------------------

1 2.2

3 6.6

5 11.0

7 15.4

4. Financial Application

Suppose the tuition for a university is $10,000 this year and increases 5% every year. In one year it will be 10,500. Write a program that displays the tuition in 10 years, and total cost of four years worth of tuition after the tenth year.

Output

Tuition in 1 years is 10500

Tuition in 2 years is 11025

Tuition in 3 years is 11576.2

Tuition in 4 years is 12155.1

Tuition in 5 years is 12762.8

Tuition in 6 years is 13401

Tuition in 7 years is 14071

Tuition in 8 years is 14774.6

Tuition in 9 years is 15513.3

Tuition in 10 years is 16288.9

The four-year tuition after ten years is 70207.4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!