For an exercise we are supposed to:
Write a C++ program that uses three user-defined functions (counting main () as one) and produces the following output:
Three blind mice Three blind mice See how they run See how they run
One function, called two times, should produce the first two lines, and the remaining function, also called twice, should produce the remaining output.
so far this is what I was able to come up with but I can't understand why it isn't working! I just started C++ last week and I'm completely lost..
#include <conio.h>
#include <iostream>
using namespace std;
int main()
{
int threemice();
int threemice();
int seehow();
int seehow();
getch();
return 0;
}
int threemice()
{
cout << "Three blind mice" << endl;
}
int seehow()
{
cout << "see how they run" << endl;
}