I'm not really making a real program. I'm just playing around with the new functions I recently learned.
#include <iostream.h>
#include <conio.h>
#include <conio.c>
typedef unsigned short int USHORT;
void after();
void after()
{
USHORT Width = 5;
USHORT Length;
Length = 10;
USHORT Area = Width * Length;
cout << "\nWidth:" << Width << "\n";
cout << "Length: " << Length << endl;
cout << "Area: " << Area << endl;
}
int main()
{
int coul;
cout << "Press 1 and/or 2 to continue.......\n";
cin >> coul;
if (coul==1 || coul==2) {
void after(); }
getch();
return 0;
}