#include int main() { int num1, num2, num3, num4, num5, total; std::string num1i, num2i, num3i, num4i, num5i; //First item std::cout << "Please input the first item and it's value\n"; std::cin >> num1i; std::cin >> num1; //Second item std::cout << "Please input the second item and it's value\n"; std::cin >> num2i; std::cin >> num2; //Third item std::cout << "Please input the third item and it's value\n"; std::cin >> num3i; std::cin >> num3; //Fourth item std::cout << "Please input the fourth item and it's value\n"; std::cin >> num4i; std::cin >> num4; //Fifth item std::cout << "Please input the fifth item and it's value\n"; std::cin >> num5i; std::cin >> num5; //Calculating the total total = num1 + num2 + num3 + num4 + num5; //Printing it... std::cout << "Your total is: " << total << "\nThank you for choosing Rudy's. Have a nice day!" << std::endl; } /* the output looks like this: Please input the first item and it's value Beer 13 Please input the second item and it's value Pineapple 15 Please input the third item and it's value Banana 16 Please input the fourth item and it's value Pie 20 Please input the fifth item and it's value Cake 40 Your total is: 104 Thank you for choosing Rudy's. Have a nice day! */