Computer Science, asked by chudhuryjoba, 4 months ago

Make the flow chart for finding and showing to pay amount in a store. The inputs are price and quantity Topay = price x quantity​

Answers

Answered by Anonymous
0

I cannot draw! : - l

Answered by dreamrob
0

Program :

#include<iostream>

using namespace std;

int main()

{

int Topay , price , quantity;                        //Declaring variables

cout<<"Enter price of the item : ";

cin>>price;                                                 //Taking input from user

cout<<"Enter quantity of the item : ";

cin>>quantity;                                            //taking input from user

Topay = price * quantity;                           //Calculating

cout<<"Amount to pay : "<<Topay;           //Display the output

return 0;

}

Attachments:
Similar questions