Question:

I need help making a java progrmam that will solve formulas.?

by  |  earlier

0 LIKES UnLike

I have a little bit of programming with java, and I need to make a java program that solves formulas. How do I prompt the user for an input?

 Tags:

   Report

1 ANSWERS


  1. Use java.util.Scanner.

    Scanner sc = new Scanner(System.in);

    int  param1 = sc.nextInt(); // if you expecting integer as input

    Lookup javadoc on this class for detail.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions