Question: I need this in C language! Define a struct computerType to store the following data about a computer: Manufacturer (50 character string), model type (50

I need this in C language!

Define a struct computerType to store the following data about a computer: Manufacturer (50 character string), model type (50 character string), processor type (10 character string), ram (int) in GB, hard drive size (int) in GB, year when the computer was built (int), and the price (double).

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 (it should look like this):

I need this in C language! Define a struct computerType to store

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: 17 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!