#include <iostream>
#include <iomanip>

using namespace std;


void StartUp(void);
void WrapUp(void);


char ProgramName[] = "Assignment_3.cpp"; //Used to hold the program name


void sentenceOne ();
void wordOne ();
void wordTwo ();
void wordThree ();
void wordFour ();
void wordFive ();
void wordSix ();
void wordSeven ();
void wordEight ();

void sentenceTwo ();
void wordNine ();
void wordTen ();
void wordEleven ();
void wordTwelve ();

void letter_T (); //function prototype
void letter_h ();
void letter_i ();
void letter_s ();
void letter_Space ();
void letter_Period ();
void letter_a ();
void letter_n ();
void letter_e ();
void letter_x ();
void letter_m ();
void letter_p ();
void letter_l ();
void letter_o ();
void letter_f ();
void letter_u ();
void letter_t ();
void letter_c ();
void letter_C ();
int letter_+ ();
void letter_I ();
void letter_w ();
void letter_r ();

void main (){


StartUp();
{
sentenceOne ();
cout << endl;
sentenceTwo ();
cout << "\n" << endl;
}

WrapUp();

} //End of fuction main

void sentenceOne ()
{
wordOne ();
letter_Space ();
wordTwo ();
letter_Space ();
wordThree ();
letter_Space ();
wordFour ();
letter_Space ();
wordFive ();
letter_Space ();
wordSix ();
letter_Space ();
wordSeven ();
letter_Space ();
wordEight ();
letter_Period ();
}

void sentenceTwo ()
{
wordNine ();
letter_Space ();
wordTen ();
letter_Space ();
wordEleven ();
letter_Space ();
wordTwelve ();
letter_Period ();
}

void wordOne ()
{
letter_T ();
letter_h ();
letter_i ();
letter_s ();
}
void wordTwo ()
{
letter_i ();
letter_s ();
}
void wordThree ()
{
letter_a ();
letter_n ();
}
void wordFour ()
{
letter_e ();
letter_x ();
letter_a ();
letter_m ();
letter_p ();
letter_l ();
letter_e ();
}
void wordFive ()
{
letter_o ();
letter_f ();
}
void wordSix ()
{
letter_f ();
letter_u ();
letter_n ();
letter_c ();
letter_t ();
letter_i ();
letter_o ();
letter_n ();
letter_s ();
}
void wordSeven ()
{
letter_i ();
letter_n ();
}
void wordEight ()
{
letter_C ();
letter_+ ();
letter_+ ();
}
void wordNine ()
{
letter_I ();
letter_t ();
}
void wordTen ()
{
letter_a ();
letter_l ();
letter_s ();
letter_o ();
}
void wordEleven ()
{
letter_s ();
letter_h ();
letter_o ();
letter_w ();
letter_s ();
}
void wordTwelve ()
{
letter_r ();
letter_e ();
letter_u ();
letter_s ();
letter_e ();
}

void letter_T ()
{
cout << "T";
}
void letter_h ()
{
cout << "h";
}
void letter_i ()
{
cout << "i";
}
void letter_s ()
{
cout << "s";
}
void letter_Space ()
{
cout << " ";
}
void letter_Period ()
{
cout << ".";
}
void letter_a ()
{
cout << "a";
}
void letter_n ()
{
cout << "n";
}
void letter_e ()
{
cout << "e";
}
void letter_x ()
{
cout << "x";
}
void letter_m ()
{
cout << "m";
}
void letter_p ()
{
cout << "p";
}
void letter_l ()
{
cout << "l";
}
void letter_o ()
{
cout << "o";
}
void letter_f ()
{
cout << "f";
}
void letter_u ()
{
cout << "u";
}
void letter_t ()
{
cout << "t";
}
void letter_C ()
{
cout << "C";
}
int letter_+ ()
{
 cout << "+";
}
void letter_I ()
{
cout << "I";
}
void letter_w ()
{
cout << "w";
}
void letter_r ()
{
cout << "r";
}
void letter_c ()
{
cout << "c";

Edited 6 Years Ago by qtbugfrmmo: n/a

Does it not work? Do you get errors?

It works but the ++ does not show on the screen. Thanks for your help.

Can you wrap your code in the CODE tags so i can copy your program please.

Edited 6 Years Ago by Akill10: n/a

Can you wrap your code in the CODE tags so i can copy your program please.

I will. I'm new at posting here so please forgive me if I mess this up.

You cant have an int function that returns no value. You also cant name methods with binary operators,i.e.(+,-,/,*).
EveryWhere you see:

int letter_+ ()
{
cout << "+";
}

change to:

void letter_plus()
{
cout << "+";
}

This means you also have to change it wherever it gets called.

You cant have an int function that returns no value. You also cant name methods with binary operators,i.e.(+,-,/,*).
EveryWhere you see:

int letter_+ ()
{
cout << "+";
}

change to:

void letter_plus()
{
cout << "+";
}

This means you also have to change it wherever it gets called.

Thank you so much!

This question has already been answered. Start a new discussion instead.