#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;
}