40. Write a program to display cost of painting the four walls of a room.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Algorithm:

Step 1: Start

Step 2: Enter length, breadth, height and cost (l, b, h, c)

Step 3: A = 2 * h * (l + b)

Step 4: T =  c * A

Step 4: Print Cost is :T

Step 5: Stop/End

Flowchart:

Create a flowchart to display cost of painting the four walls of a room.
Create a flowchart to display cost of painting the four walls of a room.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

39. Write a program to display area and perimeter of square.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Next Post

41. Write a program to display simple interest.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Related Posts