Question: In C: Define a struct computerType to store the following about a computer: Manufacturer, model type, processor type, ram in GB, hard drive size in

In C:

Define a struct computerType to store the following about a computer: Manufacturer, model type, processor type, ram in GB, hard drive size in GB, year when the computer was built, and the price. Write a program that declares a variable of type computerType, prompts the user to the input data for the struct, and then outputs all the computer's data from the struct. For Example:

Enter the name of the manufacturer: Dell Enter the model of the computer: Inspiron Enter processor type: I7 387 Enter the size of RAM (in GB): 32 Enter the size of hard drive (in GB): 512 Enter the year the computer was built: 1990 Enter the price: 1345.67 -------------------- Manufacturer: Dell Model: Inspiron Processor: I7 387 Ram: 32 Hard Drive Size: 512 Year Built: 1990 Price: $1345.67

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!