Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming concept C++: 1-Introduction to Computers and programming, Algorithms and problem solving. 2-Introduction to C++ ( input and output statements, data types, String class, arithmetic

Programming concept C++:

1-Introduction to Computers and programming, Algorithms and problem solving.

2-Introduction to C++ ( input and output statements, data types, String class, arithmetic operations)

3-Selection structures ( if , if..else, switch)

image text in transcribed

6) Write a C++ program that asks the user to enter his/her mass (in kilograms, kg) and height (in meters, m). Let your program compute and output the Body Mass Index, BMI for the user. The BMI formula is Mass BMI = Height2 m2 7) Write program to read employee salary, and tax percentage, then output the net salary (net salary means the salary after deducting the tax) nter the salary:500 ntcr the tax:1 et Salary-4250 Press any key to continue -.- 8) Write a Cprogram that reads the temperature KELVIN CELSIUS FAHRENHEIT RAN KINE represented in degree Celsius (C) and output the equivalent in the following units 373 672 a. Fahrenheit (F) where FC+32 b. Kelvin(K) : where K C+273.15 c. Rankine (R) where R-1.8K ICE 492 o-273 -4594 9) Write C++ program to read three characters from user and print them in reverse order 10) Write a C+program that reads three resistances R1, R2, and R3 which are connected in parallel. Let your program output the equivalent resistance, R, which is found from the formula R R1 R2 R3

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

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions