Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

computer programming C++ only question 3, 4, 5, 6, please 1 of 1 Computer Programming - Tutorial session 5 1. Write a C++ program to

image text in transcribed
computer programming C++
only question 3, 4, 5, 6, please
1 of 1 Computer Programming - Tutorial session 5 1. Write a C++ program to display the sum of all numbers between 1 and 100. 2. Write a C++ program to display a multiplication table of a given integer number. 3. Write a C++ program using a switch statement that accepts grades like A, B, C, D, E. and F and displays text as shown below: A>Outstanding B +Excellent Very Good D Good E Fair F Poor 4. Use the switch...case structure to write a CH program that accepts a currency out of any five international currencies and coverts it to the local currency. Choose any five international currencies and the local currency must be AED. 5. Use the switch...case structure to write a C++ program using C++ that compute the areas of the following shapes: Square Circle Right-angled triangle Rectangle Sphere Ask the user to enter a code for the shape first and then based on the selection, ask for the required attributes such as sides of radius etc. 6. Using the switch...case structure to design a restaurant biller system where a user can input a choice of dish and the quantity, and the system generates the bill. Choose any 5 items of your choice with relevant codes for the items eg. B for Burger, S for Sandwich etc. The bill must be calculated using the formula: Bill Unit price * Quantity +5% VAT

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

More Books

Students also viewed these Databases questions