Create a struct named as a computer which has brand

Assignment Help Basic Computer Science
Reference no: EM131004983

Write a program to store hardware specifications.Create a struct named as a computer which has brand, model name, processor name , processor speed, monitor screen size , hard disk space, size of Ram and graphic card name. Create two objects namedas pc1 and pc2. When the program executes, the user has to enter all the details ofthe first pc followed by the second pc. After all the data has been entered, display out all the computer hardware specifications in a neat tabular format. Restrict the input of the model name, processor name and graphic card name up to 20characters. Your program should ensure that the user enters the correct type of input, and the program should not crash at any point. E.g. processor speed, screen size, hard disk space and size of Ram are numeric values.

Reference no: EM131004983

Questions Cloud

What lease classification would management prefer : If SDI follows U.S. GAAP, how might SDI structure the lease agreement to avoid the additional debt? Explain.
Write a script that clears the screen : Write a script that clears the screen, determines how many sessions you are in (use who, grep, and wc), compare 2 files that are passed as parameters using diff and cmp, and sort the first file.
Shut down production immediately : Karen runs a print shop that makes posters for large companies. It is a very competitive business. The market price is currently $1 per poster. What is her AFC per poster (not per thousand!) if she prints 1,000 posters? What if she prints 2,000 poste..
Do lessees report operating and finance lease commitments : Look at BA's Note 28: Long-term borrowings and Note 29: Operating lease commitments. Does BA obtain use of its aircraft more using operating leases or finance leases? Do lessees report operating and finance lease commitments the same way? Explain.
Create a struct named as a computer which has brand : Write a program to store hardware specifications.Create a struct named as a computer which has brand, model name, processor name , processor speed, monitor screen size , hard disk space, size of Ram and graphic card name. Create two objects nameda..
Purely competitive firm finds that the market price : A purely competitive firm finds that the market price for its product is $30.00. It has a fixed cost of $100.00 and a variable cost of $17.50 per unit for the first 50 units and then $37.50 per unit for all successive units. Does price equal or excee..
Define these terms for the interviewee : Interview a business person to learn how purchases are made in his or her organization. Ask this person to describe a straight rebuy, a modified rebuy, and a new-task-buying situation that took place recently or of which he or she is aware (you may n..
Market outcome in each graph and link between two graphs : Use a graph to show the impact on the price of Japanese cars sold in the United States if the United States imposes import quotas on Japanese cars. Now draw another graph to show how the change in the price of Japanese cars affects the price of Ameri..
A member of the board of directors is concerned : How might the corporate controller explain this apparent discrepancy?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Analyze the fundamental impact of it architecture

Ascertain the importance of information management for the company or industry that you have chosen. Analyze the fundamental impact of IT architecture or enterprise architecture on information management for your chosen company or industry.

  Determine the delays of the carry out

Determine the delays of the carry out bit c48 and the gate complexity, i.e, the numbers of AND, OR and XOR gates needed for implementing the following 48-bit adders.

  Monitor and control scope and schedule

Monitor and control scope and schedule

  Change the layout options to square

Change the layout options to Square

  How many pictures can be stored on an eight-gb flash memory

How many pictures can be stored on an 8-GB flash memory card if the compression factor is 5x? Assume that 1 GB means 230 bytes.

  What is cyber warfare.

Discuss the following: 1. What is cyber warfare. 2. What is a network?

  To perform queries

To perform queries on a relational database system using SQL? To demonstrate an advanced knowledge of stored procedures, stored functions and triggers.

  Describing data-s confidentiality and integrity

They are asking candidates to describe briefly how they would satisfy StoreItRite's requirements as stated above. How would a successful candidate respond?

  What is a distributed hash table

What is a Distributed Hash Table

  How many different colors could be represented with an rgb

How many different colors could be represented with an RGB scheme if only 3 bits were used to represent each RGB component (3 for R, 3 for G, 3 for B)?

  What operations can you perform on pointers

How would you initialize a pointer that you do not want to point to anything? What is a null pointer and how do you create it?

  How does inheritance promote code reuse

In C++, how does inheritance promote code reuse

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd