Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2: (6 Marks, 1.5 each) A. Write a program to compute the area of a Right Rectangular Pyramid using the following formula: Right rectangular

image text in transcribed
Question 2: (6 Marks, 1.5 each) A. Write a program to compute the area of a Right Rectangular Pyramid using the following formula: Right rectangular pyramid A = *w* )***** *** Figure 2: The area of Right Rectangular Pyramid B. Write a program that reads in the radius of a circle as an integer and prints the circle's diameter, circumference and area. Use the constant value 3.14159 for 1. Do all calculations in output statements. C. Write a program to check leap year. D. Write a program that reads the net price of an item and calculates value added tax 5% and gross price. If the net price is more than AED 500. Apply 15% discount to the total bill. Print the following screen layout: Net Price xxxX.XX AED Discount XXXX.XX AED Total xxxx.xx AED + 5% VAT XXXX.XX AED The End CCIT-Introduction to Programming, Spring 19-20 Page 5 of 5

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions