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
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
oh hush im looking for resources like that video that guy sent me too as well, im working on it, im new