First, let me start off by saying I'm a total noob. So this padawan is asking for patience.
So, I'm working with a simple code that expands a bit on the "Hello World" code.
What I WANT it to do is say hello and ask for the users name. Then I ask if the user is okay today.
Then if the user responds with a Yes ...I want it to println a certain response.
If the user responds with a No....I want it to println with a different response.
I have gotten as far as the +input of the user's name....that's all good.
what I'm struggling with is, and I'm assuming it would be a boolean is either true=yes and false=no responses.
I have googled countless booleans and each one I've found deals with variable expressions and it's not exactly what I'm looking for and I think it's just confusing me.
I've tried manipulating an if/else but well, I wouldn't be here asking for assistance if it worked.
So, I'm not looking for spoon feeding...just a tip or a point in the right direction.
if the code worked properly the out put would be:
This is a test:
Please enter your name:
Hello, Confused Padawan, are you well?
(if yes println would be something like)
Fantastic, go buy yourself a new speeder.
(if no, printlin would be something like)
That's too bad. Go buy a new lightsaber and kill something.
Thanks for your assistance