0
Have a question regarding series of numbers
Need to write a program that will 1) display an amount of numbers, the user inputs the amount 2) displays a starting number, the user inputs this starting number 3) increases the starting number with an amount that the user inputs and follows that series of numbers, increasing it one number by the next Eg: How many numbers you want to print out? 5 With what value do you wish to start? 100 With what value do you want to increase? 50 100 150 200 250 300 Any help will definitely be appreciated!
1 Resposta
0
print info with System.out.println()
input with Scanner()
.nextInt()
store it to variables int n
loop with for()
print result numbers