Question: Write a program that will read in from a file named input.txt a series of unknown integers. For each integer that is non-negative in the
Write a program that will read in from a file named input.txt a series of unknown integers. For each integer that is non-negative in the file print out the value and then print a dash ("-") followed by that number of asterisks. If the number is negative then do not print anything out. It is suggested that you use this attached file to get you started. - UnknowFilelnputLength.java Here is a review of the starter code. Input Type \& Format - The input will come in the form of a file named input.txt - The file will contain an unknown number of integers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
