FOURTEEN FOURTEEN TEN FOURTEEN ONE ZERO ELEVEN TWELVE FIFTEEN TWELVE FOURTEENThe output should conform to that in the sample runs of a correct program shown below. Note that, in these sample runs, the % sign is not part of the program output. User input is shown on the same line as the prompt.
% % java Q1 Enter a line of text ... learn your abc's FOURTEEN TEN TEN ELEVEN TWELVE % % java Q1 Enter a line of text ... learn your ABCs FOURTEEN TEN TEN ELEVEN TWELVE % % java Q1 Enter a line of text ... 10 black cats ONE ZERO ELEVEN TEN TWELVE TWELVE TEN % %
Here (again) are the common APIs that you may access:
Here is the command to submit your work
(further details regarding the submit command can also be
obtained by
typing man submit
Once again, you are encouraged to submit
regularly.
Newer submissions overwrite older ones.
submit 1020 labtest2W5 Q1.java