Convert this algorithm into a functional c++ program


Convert this algorithm into a FUNCTIONAL C++ Program (needs to work in Invitation compiler) 
Step1: Enter A
Step2: If A is greater than 0 and A is less than 99 
Step 3: Then go to step 5 
Step 4: Else go to step 10
Step 5: Divide A with 25
Step 6: Store the co-efficient in Q 
Step 7: Store Remainder in A
Step 8: Divide A with 10 
Step 9: Store the co-efficient in D 
Step 10: Store Remainder in A
Step 11: Divide A with 5 
Step 12: Store the co-efficient in N 
Step 13: Store Remainder in A
Step 14: Store A in P
Step 15: Display Q, D, N, and P
Step 16: Invalid input
Step 17: STOP 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Convert this algorithm into a functional c++ program
Reference No:- TGS0117583

Expected delivery within 24 Hours