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...
Type: Posts; User: Junky
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...
How would we know? Feel like providing more details? Such as error messages. Output you get, output you want and explain the difference.