STARTING OUT W/C++,...(LL)-W/ACCESS
STARTING OUT W/C++,...(LL)-W/ACCESS
9th Edition
ISBN: 9780134596174
Author: GADDIS
Publisher: PEARSON
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 1, Problem 36RQE

Find the Error

36. The following pseudocode algorithm has an error. The program is supposed to ask the user for the length and width of a rectangular room, then display the room’s area. The program must multiply the width by the length in order to determine the area. Find the error.

area = width × length.

Display “What is the room’s width

Input width.

Display “What is the room’s length

Input length.

Display area.

Blurred answer
Students have asked these similar questions
The following pseudocode algorithm has an error. The program is supposed to askthe user for the length and width of a rectangular room, and then display the room’sarea. The program must multiply the width by the length in order to determine thearea. Find the error.area width length.Display “What is the room’s width?”.Input width.Display “What is the room’s length?”.Input length.Display area.
Find the Error The following pseudocode algorithm contains two errors. It is supposed to use assigned values to calculate and display the average of two numbers. Find both errors. num1 = 6 num2 = 7 average = (num1 + num1)/2 display avg The following pseudocode algorithm has an error. It is supposed to use values input for a rectangular room’s length and width to calculate and display its area. Find the error. area = width × length Display "What is the room’s width?" Input width Display "What is the room’s length?" Input length Display area
design a program for a professor to calculate the average of the three test scores for the students and congratulate the student enthusiastically if the average is greater than 95. here is the algorithm below. write the pseudocode for this program: 1. get the first test score. 2. get the second test score. 3. get the third test score. 4. calculate the average. 5. display the average. 6. if the average is greater than 95, congratulate the student.

Chapter 1 Solutions

STARTING OUT W/C++,...(LL)-W/ACCESS

Ch. 1.3 - What is an algorithm?Ch. 1.3 - Why were computer programming languages invented?Ch. 1.3 - Prob. 1.13CPCh. 1.3 - Prob. 1.14CPCh. 1.3 - Prob. 1.15CPCh. 1.3 - Prob. 1.16CPCh. 1.3 - Prob. 1.17CPCh. 1.5 - Prob. 1.18CPCh. 1.5 - Prob. 1.19CPCh. 1.5 - Describe the difference between a program line and...Ch. 1.5 - Prob. 1.21CPCh. 1.5 - What happens to a variables current contents when...Ch. 1.5 - What must take place in a program before a...Ch. 1.5 - Prob. 1.24CPCh. 1.7 - What four items should you identify when defining...Ch. 1.7 - Prob. 1.26CPCh. 1.7 - What is a hierarchy chart?Ch. 1.7 - Prob. 1.28CPCh. 1.7 - Describe what a compiler does with a programs...Ch. 1.7 - Prob. 1.30CPCh. 1.7 - Is a syntax error (such as misspelling a key word)...Ch. 1.7 - What is the purpose of testing a program with...Ch. 1.7 - Briefly describe the difference between procedural...Ch. 1 - Prob. 1RQECh. 1 - What is the difference between system software and...Ch. 1 - Prob. 3RQECh. 1 - Why must programs written in a high-level language...Ch. 1 - Why is it easier to write a program in a...Ch. 1 - Prob. 6RQECh. 1 - Prob. 7RQECh. 1 - Prob. 8RQECh. 1 - The job of the ________ is to fetch instructions,...Ch. 1 - Internally, the CPU consists of the _______ and...Ch. 1 - Prob. 11RQECh. 1 - The two general categories of software are...Ch. 1 - A program is a set of _______.Ch. 1 - Prob. 14RQECh. 1 - _______ is the only language computers really...Ch. 1 - __________ languages are close to the level of...Ch. 1 - ________ languages are close to the level of the...Ch. 1 - Prob. 18RQECh. 1 - Words that have special meaning in a programming...Ch. 1 - Prob. 20RQECh. 1 - Prob. 21RQECh. 1 - __________ characters or symbols mark thebeginning...Ch. 1 - Prob. 23RQECh. 1 - Prob. 24RQECh. 1 - Prob. 25RQECh. 1 - Prob. 26RQECh. 1 - __________ is information a program gathers from...Ch. 1 - __________is information a program sends to the...Ch. 1 - Prob. 29RQECh. 1 - Available Credit The following steps should be...Ch. 1 - Sales Tax Design a hierarchy chart or flowchart...Ch. 1 - Account Balance Design a hierarchy chart or...Ch. 1 - The variable x starts with the value 0. The...Ch. 1 - The variable j starts with the value 10. The...Ch. 1 - The variable a starts with the value 1. The...Ch. 1 - Find the Error 36. The following pseudocode...
Knowledge Booster
Background pattern image
Computer Science
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
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Expressions in C++ | C++ tutorial for beginners; Author: Tutorial Mart;https://www.youtube.com/watch?v=XHbsZGpmRc8;License: Standard YouTube License, CC-BY
expression in python # python expressions; Author: Abhishek Tripathi;https://www.youtube.com/watch?v=Cc-kJGRjH6k;License: Standard Youtube License