Write a program that will calculate the selling price of a circuit board that costs $12.67

Write a program that will calculate the selling price of a circuit board that costs $12.67

Write a program that will calculate the selling price of a circuit board that costs $12.67

Object:

An electronics company sells circuit boards at 40% profit. Write a program that will calculate the selling price of a circuit board that costs $12.67.
Display the result on the screen. C++ Projects.

Code:

#include<iostream>
#include<conio.h>

using namespace std;
void main()
{
float cost=12.67,sell;
sell=(0.40*cost)+cost;
cout<<“\nAn electronic company sells circuit boards at a 40 % profit. \nTherefore The selling price of a circuit board is: $”<<cost<<“\n\nThe total selleing price is : $”<<sell;
getch();
}

Output:

Write a program that will calculate the selling price of a circuit board that costs $12.67

Another Program: Write a program that continually calculates the cube of a number until the user enters a number that is divisible 2

M.A Siddiqui

Hi, I am M.A Siddiqui. I'm a Computer Science Student, In this website, I'm teaching you Multiple languages and provides Projects and other Subjects Notes.

You may also like...

2 Responses

  1. May 28, 2020

    […] Another Program: Write a program that will calculate the selling price of a circuit board that costs… […]

  2. June 14, 2020

    […] Write a program that will calculate the selling price of a circuit board that costs $12.67 […]

Leave a Reply

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