#include<iostream> #include<conio.h> using namespace std; int main() { cout << "Welcome to Z&A Accesories!" << endl ; cout << "\n" << "Products: " << "\n" << "\n" ; cout << "Bracelet 100Php" << endl; cout << " product code: 101010" << endl; cout << "\n" << "Necklace 200Php" << endl; cout << " product code: 202020" << endl; cout << "\n" << "Anniversary Ring 300Php" << endl; cout << " product code: 303030" << endl; int productcode; cout << "\n" << "Enter product code: " ; cin >> productcode; int price; if (productcode==101010) {price = 100 ;} else if (productcode==202020) {price = 200 ;} else if (productcode==303030) {price = 300 ;} else {cout << "You wrote the wrong product code, please try again" ; getch(); return 0;} int quantity; cout << "Enter quantity: " ; cin >> quantity;  int total; total = quantity * price; cout << "\n" << "Total amount to be paid: " << total << "Php" << endl ; double amount; cout << "Enter Amount: " ; cin >> amount; double change; if(total>amount) {cout << "Amount entered insufficient, please try again" ;} else {change = amount - total ; cout << "Your change is: " << change << endl; cout << "Thank you for your purchase!!" ;} getch() ; return 0;  }