Question: // CH9_EX1.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include #include #include using namespace std; struct xxxxxxxxxxxx {
// CH9_EX1.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include
#include
#include
using namespace std;
struct xxxxxxxxxxxx
{
Your Code Here!
.
.
.
.
.
.
};
int main()
{
xxxxxxxxxxxx xxxxxxxx;
cout
cout
getline(cin, xxxxxxxx.manufacturer);
cout
cout
getline(cin, xxxxxxxx.modelType);
cout
cout
getline(cin, xxxxxxxx.processorType);
cout
cout
cin >> xxxxxxxx.ram;
cout
cout
cin >> xxxxxxxx.hardDriveSize;
cout
cout
cin >> xxxxxxxx.yearBuilt;
cout
cout
cin >> xxxxxxxx.price;
cout
cout
cout
cout
cout
cout
cout
cout
return 0;
}
output =>
C:\Users Verry1\source repos\CH9_EX1\Debug\CH9_EX1.exe Enter the name of the manufacturer: HP Enter the nodel of the computer: Probook 440 G5 Enter processor type: Intel 38650 Enter the size of RAM (in GB): 4 Enter the size of hard drive (in GB): 508 Enter the year the computer was built: 2018 Enter the price: 398.36 Manufacturer: HP Model: Probook 440 G5 Processor: Intel 3865U Ran: 4 Hard Drive Size: 580 Year Built: 2018 Price: $398.36 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
