My code for this lecture

I was told there would be bonus credit? :laughing:

1 Like

Thanks for sharing!

Here’s my loop:

I kinda took returning a string in my GetGuess() function and ran with it, so mine looks a little bit different.

My two cents

this is how I did it…

1 Like


Please paste code using code formatting rather than images if it works better for you.

Ok, thanks for the tip!

My sourcecode and my program in action:

  • I thought of the magic number. I didn’t initialized the counter-Variable because it will be done in the for-loop anyway. :stuck_out_tongue: I will change that if the variable will be used before the loop as well.

1 Like

here we go

My attempt, seems to work

Loop for Attempt

1 Like

Privacy & Terms