I'm sure it's an odd place to come for help for college by any means but i'm trying to use scar to solve a problem for me. Perhaps I could get some assistance here.
Originally Posted by Instructor Hill
Code:Program CollegeHomework; Var a, b, c: string; Const a = 3; b = 8; c = 9; Procedure changeBAndC; Begin b = 2 times b - 1 c = c - 2 End; Procedure changeA; Begin a = 2 times a - 1 b = 2 times b + 1 End; Begin while c > 6 perform changeBAndC() endwhile if a >= 4 then perform changeA() endif if c = 10 then perform changeA() else perform changeBAndC() endif printLn a, b, c changeBAndC; changeA; End.





Reply With Quote





