Prog2Outline - while(/*number of games user wants to...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#define _CRT_SECURE_NO_DEPRECATE #include <stdio.h> //define constant //function prototypes with a comment for each one describing what the function does int main() { //declare variables //display instructions //get user's initials //open file //get number of games to play
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: while(/*number of games user wants to play*/) { //get number from file //Play one game } //close file return 0; } //Function definitions void Play(int answer) { for(/*still have guesses and haven't guessed*/) { //get guess //compare guess } }...
View Full Document

This note was uploaded on 10/26/2010 for the course COP 2220 taught by Professor Woodworth during the Spring '08 term at FAU.

Ask a homework question - tutors are online