Please write a c++ code for my pseudo code. I am take a classthat is teaching me flow charts and pseudocode and I would like tosee the actual code so that I can start preparing myself for nextsemester’s classes.
Here is the pseudo code:
// main module
Module main()
// Local variables
Declare Integer pennies, nickels, dimes,quarters
Declare Real money
// Get the number of coins.
Call getCoins(pennies, nickels, dimes,quarters)
// Calculate the amount of money.
Set money = pennies * 0.01 + nickels * 0.05+
dimes * 0.10 + quarters * 0.25
If money == 1.00 Then
Display “$1.00exactly! You won the game!”
PayPal Gateway not configured
PayPal Gateway not configured