Search:

Type: Posts; User: mjballa

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    1,644

    Re: What's wrong with my code?

    import java.util.Scanner;

    public class Lab8_Ex2
    {
    public static void main(String[] args)
    {
    int age;
    int beatsPerMinute;
    boolean heartRate;
  2. Replies
    8
    Views
    1,644

    Re: What's wrong with my code?

    Lab8_Ex2.java:22: cannot find symbol
    symbol : variable heartRate
    location: class Lab8_Ex2
    targetHeartRate(heartRate);
    ^


    Lab8_Ex2.java:24: cannot find symbol
    symbol :...
  3. Replies
    8
    Views
    1,644

    Re: What's wrong with my code?

    sorry I pasted it wrong. here it is!





    import java.util.Scanner;

    public class Lab8_Ex2
    {
  4. Replies
    8
    Views
    1,644

    What's wrong with my code?

    import java.util.Scanner;

    public class Lab8_Ex2
    {
    public static void main(String[] args)
    {
    int age;
    int beatsPerMinute;
Results 1 to 4 of 4