Using strings and variables in println statements
<p>I am writing a program that finds a user's ideal weight by asking for their height in inches and feet. So far everything looks alright except the final statement, in which I return to the user the average weight for a male and female, and also tell them the range of their weight between 15%. Here is the code that gives me a problem:</p>

<pre><code>System.out.println("For a male, the height " + foot "' " +
                   inches + "/""" + " and it's ideal weight is " + 
                   mWeight + "lbs. Anything between " + minMaleLb +
                   "lbs and " + maxMaleLb + "lbs is okay.");
System.out.println("For a female, the height " + foot "' " +
                   inches + "/""" + " and it's ideal weight is " + 
                   fWeight + "lbs. Anything between " + minFeMaleLb +
                   "lbs and " + maxFeMaleLb + "lbs is okay.");
</code></pre>

<p>And here are the errors I receive while compiling: </p>

<pre><code>File: C:\Users\###\Java\IdealWeight.java  [line: 26]
Error: C:\Users\###\Java\IdealWeight.java:26: ')' expected
File: C:\Users\###\Java\IdealWeight.java  [line: 27]
Error: C:\Users\###\Java\IdealWeight.java:27: not a statement
File: C:\Users\###\Java\IdealWeight.java  [line: 27]
Error: C:\Users\###\Java\IdealWeight.java:27: ';' expected
File: C:\Users\###\Java\IdealWeight.java  [line: 29]
Error: C:\Users\###\Java\IdealWeight.java:29: not a statement
File: C:\Users\###\Java\IdealWeight.java  [line: 29]
Error: C:\Users\###\Java\IdealWeight.java:29: ';' expected
File: C:\Users\###\Java\IdealWeight.java  [line: 31]
Error: C:\Users\###\Java\IdealWeight.java:31: ')' expected
File: C:\Users\###\Java\IdealWeight.java  [line: 32]
Error: C:\Users\###\Java\IdealWeight.java:32: not a statement
File: C:\Users\###\Java\IdealWeight.java  [line: 32]
Error: C:\Users\###\Java\IdealWeight.java:32: ';' expected
File: C:\Users\###\Java\IdealWeight.java  [line: 34]
Error: C:\Users\###\Java\IdealWeight.java:34: not a statement
File: C:\Users\###\Java\IdealWeight.java  [line: 34]
Error: C:\Users\###\Java\IdealWeight.java:34: ';' expected
File: C:\Users\###\Java\Weight.java  [line: 30]
Error: C:\Users\###\Java\Weight.java:30: reached end of file while parsing
File: C:\Users\###\Java\Weight.java  [line: 34]
Error: C:\Users\###\Java\Weight.java:34: reached end of file while parsing
</code></pre>

<p>Can someone please explain to me what is wrong with the code, and how would I go about fixing this?</p>
