#include <iostream>
using namespace std;
int main(){
int itemsOnHand;
double itemPrice;
double total;
cout << "How many items do you have on hand? ";
cin >> itemsOnHand;
cout << "\nWhat is the cost of those items? ";
cin >> itemPrice;
total = itemsOnHand * itemPrice;
cout << "the total is: " << total;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCl7CiAgICAgaW50IGl0ZW1zT25IYW5kOwogICAgIGRvdWJsZSBpdGVtUHJpY2U7CiAgICAgZG91YmxlIHRvdGFsOwoKICAgICBjb3V0IDw8ICJIb3cgbWFueSBpdGVtcyBkbyB5b3UgaGF2ZSBvbiBoYW5kPyAiOwogICAgIGNpbiA+PiBpdGVtc09uSGFuZDsKCiAgICAgY291dCA8PCAiXG5XaGF0IGlzIHRoZSBjb3N0IG9mIHRob3NlIGl0ZW1zPyAiOwogICAgIGNpbiA+PiBpdGVtUHJpY2U7CgogICAgIHRvdGFsID0gaXRlbXNPbkhhbmQgKiBpdGVtUHJpY2U7CgogICAgIGNvdXQgPDwgInRoZSB0b3RhbCBpczogIiA8PCB0b3RhbDsKCgogICAgIHJldHVybiAwOwp9