[Solved] Setting up a Loop [closed]


Some pseudocode :

Set salesA, salesB, salesC = 0
While choice != 'Z'
Begin
    Initials = InputString
    Number = InputNumber
    If string[0] == 'A' Then salesA += Number
    Else If string[0] == 'B' Then salesB += Number
    Else If string[0] == 'C' Then salesC += Number
End
Print salesA, salesB and salesC

1

solved Setting up a Loop [closed]