1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#include <iostream>
#include <string>
using namespace std;
int main ()
{
int poBoxNum, aptComplexNum, aptNum, houseNum, zipcode;
string firstName, lastName, streetName, city, state, addressConfirm, poBoxConfirm, aptConfirm;
//have user enter their name
cout << "Please enter your first and last name." << endl << endl;
cin >> firstName, lastName;
//welcoming message with the users name
cout << endl << endl << "Welcome " << firstName << ". Thank you for chosing JM Computers for your computer needs" << endl << endl;
//explaining what the company sells
cout << "Here at JM Computers we sell computer hardware and software, networking, etc." << endl << endl;
//ask user if we are shipping to PO Box
cout << "Are we shipping to a PO Box? Enter 'y' for yes or 'n' for no." << endl << endl;
cin >> poBoxConfirm;
return 0;
}
|