I need help generating C++ code from the fallowing algorithm. Thank you.
PayCalc
1. CaseOf
PayCode = "H"
Pay = Rate * Hours
PayCode = "P"
Pay = Rate * NoPieces
PayCode = "C"
Pay = Commission * Sales
PayCode = "S"
Pay = Salary
EndOfCase
2. Exit
Printable View
I need help generating C++ code from the fallowing algorithm. Thank you.
PayCalc
1. CaseOf
PayCode = "H"
Pay = Rate * Hours
PayCode = "P"
Pay = Rate * NoPieces
PayCode = "C"
Pay = Commission * Sales
PayCode = "S"
Pay = Salary
EndOfCase
2. Exit
Sure: C++ Tutorials. You may find of particular interest Lesson 5: Switch Case.
oh hush im looking for resources like that video that guy sent me too as well, im working on it, im new