I want to make a JAVA program that will allow me to insert 2 #'s and will start from 1 # and count downward or upward to the 2nd #. This is the code I have so far, but nothings coming out right....


I want to make a JAVA program that will allow me to insert 2 #'s and will start from 1 # and count downward or upward to the 2nd #. This is the code I have so far, but nothings coming out right. Please let me know if that is possible and if so, please fix my code




Run<br>O Debug<br>Stop<br>e Share<br>A Save<br>{} Beautify<br>Language Java<br>Call Stack<br>OnlineGDB beta<br>Main.java<br>> Local Variables<br>online compiler and debugger for c/c++<br>1<br>import java.util.Scanner;<br>> Registers<br>> Display Expressions<br>code. compile. run. debug. share.<br>3 public class Main<br>{<br>Breakpoints and Watchpoints<br>IDE<br>public static void main(String args[]){<br>Scanner keyboard<br>System.out.println(

Extracted text: Run O Debug Stop e Share A Save {} Beautify Language Java Call Stack OnlineGDB beta Main.java > Local Variables online compiler and debugger for c/c++ 1 import java.util.Scanner; > Registers > Display Expressions code. compile. run. debug. share. 3 public class Main { Breakpoints and Watchpoints IDE public static void main(String args[]){ Scanner keyboard System.out.println("Insert i here V"); int i = new Scanner(System.in); My Projects Classroom new keyboard.nextInt(); System.out.println("Insert x here V"); int x = Learn Programming 10 keyboard.nextInt(); 11 for(i = x; i <= x; x--){ programming questions 12 system.out.println("the value of i is: + i); sign up 13 } } 15 } 14 login f + 128k input command line arguments: standard input: o interactive console o text about • faq • blog • terms of use • contact us • gdb tutorial • credits • privacy © 2016 - 2021 gdb online 23456789 x;="" x--){="" programming="" questions="" 12="" system.out.println("the="" value="" of="" i="" is:="" +="" i);="" sign="" up="" 13="" }="" }="" 15="" }="" 14="" login="" f="" +="" 128k="" input="" command="" line="" arguments:="" standard="" input:="" o="" interactive="" console="" o="" text="" about="" •="" faq="" •="" blog="" •="" terms="" of="" use="" •="" contact="" us="" •="" gdb="" tutorial="" •="" credits="" •="" privacy="" ©="" 2016="" -="" 2021="" gdb="" online="">

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here