Hello to all.
I am having some trouble writing code for a program that lets users input certain amounts for certain names and the program should then display it. The program should check the values to see whether or not it is higher than 200. If it is higher then 200 then it should output a Y. This is what i have so far. The code does not output the Y when a value is above 200. The "Y" should appear under the appropriate slot. Any tips?
Your understanding of functions and variables needs some revision. L38-47 refer to the same high variable. maxEarning() is defined as returning a type string, but doesn't return anything. L13 high is defined as an array - but is not used as an array??