Search:

Type: Posts; User: ahans

Search: Search took 0.21 seconds.

  1. Replies
    4
    Views
    1,466

    Re: if else if elese if.... statement not working

    i tried putting:

    System.out.println(bloodPressure);

    this returns the correct value but it outputs HEALTH WARNING - High Blood Pressure - Prehypertension

    instead of going to:


    else if...
  2. Replies
    4
    Views
    1,466

    if else if elese if.... statement not working

    I have the code below in a class, when I call the method e.g. patient1.monitorBloodPressure and if the blood pressure is set to for example 139 it will still read Blood Pressure level normal it will...
Results 1 to 2 of 2