Professional Documents
Culture Documents
CC102 Lab1
CC102 Lab1
#include <iostream>
using namespace std;
int main() {
string name,item1,item2;
float price1,price2,iTot1,iTot2,TotAmount;
float qty1,qty2;
cout<<"Sales"<<endl;
cout<<"Customer Name: "<< name<<endl;
cout<<"Item Purchased:"<<endl;
cout<<item1 << " - " << qty1 <<" pcs x " << price1 <<"pesos - item
total: " << iTot1 <<endl;
cout<<item2 << " - " << qty2 <<" pcs x " << price2 <<"pesos - item
total: " << iTot2 <<endl;
cout<<"Total Amount: " << TotAmount;
return 0;