Search:

Type: Posts; User: Junky

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    1,643

    Re: What's wrong with my code?

    The error message is clear. The compiler cannot find the declaration for the heartRate variable.

    public static void main(String[] args)
    {
    int age;
    int beatsPerMinute;

    Scanner...
  2. Replies
    8
    Views
    1,643

    Re: What's wrong with my code?

    How would we know? Feel like providing more details? Such as error messages. Output you get, output you want and explain the difference.
Results 1 to 2 of 2