[SOLVED] CS #include

$25

File Name: CS_#include.zip
File Size: 103.62 KB

5/5 - (1 vote)

#include
using namespace std;
#include

#include View.h

void View::showMenu(int& choice)
{
int numOptions = 3;

cout << endl << endl;cout << “What would you like to do:”<< endl;cout << “(1) Compute matches” << endl;cout << “(2) Print animals” << endl;cout << “(3) Print clients” << endl;cout << “(0) Exit” << endl< > choice;

while (choice < 0 || choice > numOptions) {
cout << “Enter your selection: “;cin >> choice;
}

}

void View::printStr(string str)
{
cout << str;}void View::readInt(int& n){cin >> n;
}

void View::readStr(string& str)
{
cin >> str;
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS #include
$25