Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by smtuttle at Mon Apr 12 14:35:33 PDT 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;
/*--------------------------------------------------
Contract: show_burp : int -> void
Purpose: expects a desired quantity of burps,
and returns nothing, but prints to the
screen that many burps, each on its own line.
Examples: if I call:
burp(5);
...then the following should be printed to the screen:
BURP!
BURP!
BURP!
BURP!
BURP!
--------------------------------------------------*/
void show_burp(int num_burps)
{
int count = 0;
while (count < num_burps)
{
cout << "BURP!" << endl;
count++;
}
}