Hey guys. I bought a book the other day on
Java because I wanted to try it out and I have been losing sleep over it now. While I always thought it would be boring, I find its like I am practically playing sudoku :P
I am writing a simple program to give me a roofing quote based on the information that I plug in. With the scanner utility I just assign values to variables such as "roof square footage" and "amount of bundles". Anyways I am done most of it except for the part where I must select the shingle type.
Currently I am fooling around with the next.Boolean to assign a true/false when the console prompts "Timberline?" (My first shingle choice). IF Timberline=False then it goes to the next line
"3 Tab?".. and finally if that is false then the next line with a println displaying "Designer Shingle Price Assumed".
However it is not working how I would have hoped, so is there a way that I can make a text selection?
i.e
-Console prompts: "Select Shingle Type (Timberline, 3 Tab, Designer):"
-Type in shingle type, press enter, and it assigns a value to the variable "shingleprice" based on selection.
If I took a screenshot of my code and posted it, would it help?