Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

// 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 =>

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

5. How can I help others in the network achieve their goals?

Answered: 1 week ago