string name, // first name, typed in by the user
int ageInYears, // age typed in by the user
ageDiff, // difference between user's age and
// AGE_MODIFIER
minHeartRate, // minimum estimated heart rate
maxHeartRate; // maximum estimated heart rate
I am getting int error referenced to this line of code. I have converted semi colons to commas but don't see any int error this is my first program no idea where to start. Have looked at my resources first. would like some suggestions. Thank you Peter
string name; /* semicolon here*/ // first name, typed in by the user
int ageInYears, // age typed in by the user
ageDiff, // difference between user's age and
// AGE_MODIFIER
minHeartRate, // minimum estimated heart rate
maxHeartRate; // maximum estimated heart rate
Thanks for the help what did the semi colon after string name do? did it initialize the first action of the program? Why did the comma after enter name differ from enter name.
Thanks for the help.
Peter