Instructions: Write some code that follows the steps below. Step 1: Ask the user to enter the clock speed (in Megahertz) of their graphics card (GPU). This is an indicator of how fast their graphics card is. Step 2: Ask the user to enter the clock speed (in Megahertz") of their processor (CPU). This is an indicator of how fast their processor is. (Note: MHz is used for simplicity. Clock speed in newer computers is measured in GHz (gigahertz)). Step 3: Ask the user to enter the number of cores that their processor (CPU) has. The more cores a processor has, the more work it can do. Step 4: Output the following text: "Computer Hardware Graphics Quality how Transcribed Text Step 4: Output the following text: "Computer Hardware Graphics Quality Recommendation Tool" Step 5: Display the following output (See sample Input and Output below): • The GPU clock speed • The CPU clock speed The number of cores

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 28PE
icon
Related questions
Question

Write some code that follows the steps below

Instructions:
Write some code that follows the steps below.
Step 1:
Ask the user to enter the clock speed (in Megahertz) of their graphics card
(GPU). This is an indicator of how fast their graphics card is.
Step 2:
Ask the user to enter the clock speed (in Megahertz") of their processor (CPU).
This is an indicator of how fast their processor is. (Note: MHz is used for
simplicity. Clock speed in newer computers is measured in GHz (gigahertz)).
Step 3:
Ask the user to enter the number of cores that their processor (CPU) has. The
more cores a processor has, the more work it can do.
Step 4:
Output the following text: "Computer Hardware Graphics Quality
Show Transcribed Text
Step 4:
Output the following text: "Computer Hardware Graphics Quality
Recommendation Tool"
Step 5:
Display the following output (See sample Input and Output below):
The GPU clock speed
The CPU clock speed
• The number of cores
Transcribed Image Text:Instructions: Write some code that follows the steps below. Step 1: Ask the user to enter the clock speed (in Megahertz) of their graphics card (GPU). This is an indicator of how fast their graphics card is. Step 2: Ask the user to enter the clock speed (in Megahertz") of their processor (CPU). This is an indicator of how fast their processor is. (Note: MHz is used for simplicity. Clock speed in newer computers is measured in GHz (gigahertz)). Step 3: Ask the user to enter the number of cores that their processor (CPU) has. The more cores a processor has, the more work it can do. Step 4: Output the following text: "Computer Hardware Graphics Quality Show Transcribed Text Step 4: Output the following text: "Computer Hardware Graphics Quality Recommendation Tool" Step 5: Display the following output (See sample Input and Output below): The GPU clock speed The CPU clock speed • The number of cores
Sample Input and Output (user input is in bold) - The
output of your program should match the formatting and
spacing exactly as shown
Please enter the clock speed (in Megahertz) of your graphics card: 1000
Please enter the clock speed (in Megahertz) of your processor: 3000
Please enter the number of cores of your processor: 2
Show Transcribed Text
Please enter the clock speed (in Megahertz) of your processor: 3000
Please enter the number of cores of your processor: 2
Computer Hardware Graphics Quality Recommendation Tool
GPU Clock Speed: 1000.0 MHz
CPU Clock Speed: 3000.0 MHz
Number of cores: 2
Due on May 31, 2023 11:59 PM
Available on May 24, 2023 12:01 AM. Access restricted before availability starts.
Available until May 31, 2023 11:59 PM. Access restricted after availability ends.
Transcribed Image Text:Sample Input and Output (user input is in bold) - The output of your program should match the formatting and spacing exactly as shown Please enter the clock speed (in Megahertz) of your graphics card: 1000 Please enter the clock speed (in Megahertz) of your processor: 3000 Please enter the number of cores of your processor: 2 Show Transcribed Text Please enter the clock speed (in Megahertz) of your processor: 3000 Please enter the number of cores of your processor: 2 Computer Hardware Graphics Quality Recommendation Tool GPU Clock Speed: 1000.0 MHz CPU Clock Speed: 3000.0 MHz Number of cores: 2 Due on May 31, 2023 11:59 PM Available on May 24, 2023 12:01 AM. Access restricted before availability starts. Available until May 31, 2023 11:59 PM. Access restricted after availability ends.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Structure chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning