Question: Please turn the following C++ Program into Pseudocode: #include using namespace std; int main() { double item1Price = 15.95; double item2Price = 24.95; double item3Price
Please turn the following C++ Program into Pseudocode:
#include
using namespace std; int main() { double item1Price = 15.95; double item2Price = 24.95; double item3Price = 6.95; double item4Price = 12.95; double item5Price = 3.95; double subtotal; double taxRate; double total; subtotal = item1Price + item2Price + item3Price + item4Price + item5Price; taxRate = subtotal*0.07; total = subtotal + taxRate ; cout<< " The price of item 1: $"<< item1Price; cout<< ", The price of item 2: $"<< item2Price; cout<< ", The price of item 3: $"<< item3Price; cout<< ", The price of item 4: $"<< item4Price; cout<< ", The price of item 5: $"<< item5Price;
cout<< ", The subtotal value: $"<< subtotal; cout<< ", Sales Tax value:$"<< taxRate; system("pause"); return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
