#Need help with java beginning problem.

4 messages · Page 1 of 1 (latest)

oblique quartz
#

I posted this earlier.

Here is what I have so far:

import java.util.Scanner;

public class CalcTax {

public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    // Welcome message
    System.out.println("Welcome to my tax calculation program.");

Would prefer to go to voice chat for more help.

cinder harbor
#

hello you there?

primal schooner
#

@oblique quartz I can help but can't do voice chat, sorry.
I would start with the first step- "Ask the user for the PIN code"
Check your notes from class for an example of how to ask for user input. You basically want to

  1. Display a prompt "Please enter the PIN" or similar
  2. Let the user type, and get whatever they typed into a variable
oblique quartz