Skip to content

Instantly share code, notes, and snippets.

View StabbyMcDuck's full-sized avatar

Regina StabbyMcDuck

  • Minneapolis, MN
View GitHub Profile
#include <iostream> // includes and statements section
using std::cin; // user input
using std::cout; // machine output
using std::endl; // for line breaks
int main () {
int magicNumber; // number player 1 enters
int guess; // number that player 2 guesses