Carlos My Home Courses Catalog and Study Tools Rental Options College Success Tips Career Success Tips RECOMMENDED FOR YOU Loan Current Account Mobile Payments $2.217.00 Manage Student Loans ? Help « Give Feedback O CENGAGE MINDTAP Programming Exercise 1.4 Instructions B d </> window 1. In the Code Editor, enter the program from Figure 1-7 that computes the area of a rectangle. 2. Press the Run button, and correct any errors that occur. 3. Test the program with different inputs. An example of the program input and output is shown below: Enter the width: 33 Enter the height: The area is 726 square units. rectangle.py 1 2 + > Terminal Q Search this course Ох +
Addition of Two Numbers
Adding two numbers in programming is essentially the same as adding two numbers in general arithmetic. A significant difference is that in programming, you need to pay attention to the data type of the variable that will hold the sum of two numbers.
C++
C++ is a general-purpose hybrid language, which supports both OOPs and procedural language designed and developed by Bjarne Stroustrup. It began in 1979 as “C with Classes” at Bell Labs and first appeared in the year 1985 as C++. It is the superset of C programming language, because it uses most of the C code syntax. Due to its hybrid functionality, it used to develop embedded systems, operating systems, web browser, GUI and video games.
I don't understand how to test all three subjects at the same time. It only lets me do one at a time and once i try to do another one it un checks the one I already did (re uploaded).
![Accounts
Programming Exercise 1.4
Carlos ✓
StatMuse | Search... ESPN: Serving sp...
My Home
Courses
Catalog and Study Tools
Rental Options
College Success Tips
Career Success Tips
RECOMMENDED FOR YOU
Loan
MindTap - Cengage Learning xb Answered: Sample Output Ente X
ng.cengage.com/static/nb/ui/evo/index.html?deploymentid=6033602247042461094015214901&eISBN=9780357505397&id=1711631995&snapshotld=3329140&
Current Account
Mobile Payments
Transfor
$2,217.90
Current Balance
? Help
$2,217.90
Current Balance
Pay Ba
Give Feedback
US/EURO
NAZ
Personal Loan
Manage Student Loans
ing
GT/56 (
YEH
KTC
«
History
8/12
2.230 -0.0039
0.592 -0.00053
-1.750 -1.759
68.23 -0.0003
-450.50 -0.0057
MindTap - Cengage Learning
5
CENGAGE MINDTAP
Programming Exercise 1.4
Instructions
window
1. In the Code Editor, enter the
program from Figure 1-7 that
computes the area of a rectangle.
2. Press the Run button, and correct
any errors that occur.
3. Test the program with different
inputs.
An example of the program input and
output is shown below:
Enter the width: 33
Enter the height: 22
The area is 726 square units.
Grading
When you have completed your
program, click the Submit button to
record your score.
rectangle.py
1
NH
2
+
how to take a screenshot on ma x
>_ Terminal
Q Search this course
+
X
?
A-Z](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc546cf2f-78ed-4364-80b8-0dd85f7fb227%2F72be2df4-d1c0-4627-baf1-ad63f9899943%2F2u2xmgd_processed.png&w=3840&q=75)
![Programming Exercise 1.4
Accounts
Carlos ✓
My Home
StatMuse | Search... ESPN: Serving sp...
Courses
Catalog and Study Tools
Rental Options
College Success Tips
Career Success Tips
RECOMMENDED FOR YOU
Loan
Current Account
Mobile Payments
Transfer
ng.cengage.com/static/nb/ui/evo/index.html?deploymentid=6033602247042461094015214901&eISBN=9780357505397&id=1711631995&snapshotId=3329140&
$2,217.90
Current Balance
Help
$2,217.90
Current Balance
Pay B
US/EURO
NAZ
Personal Loan
Manage Student Loans
ing
Give Feedback
GT/56
YEH
KTC
«
History
8/12
2.230
X
-0.0039
MindTap - Cengage Learning ×
0.592 -0.00053
-1.750 -1.759
68 23-0.0003
-0.0057
CENGAGE MINDTAP
Programming Exercise 1.4
Tasks
0.00
out of
10.00
The program calculates the
area for the given inputs.
Checks
MindTap - Cengage Learning × Accounts Programming Exercis x
O out of 3 checks passed.
Review the results below for
more details.
Test Case Incomplete
Test for width of 2, height of 5
Test Case
Incomplete
Test for width of 5, height of 5
Test Case Incomplete
Test for width of 78, height of 3
Run checks
Submit 0%
rectangle.py
1
2
←
how to take a screenshot on ma x
+
>_ Terminal
Q Search this course
+
0
×
?
A-Z](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc546cf2f-78ed-4364-80b8-0dd85f7fb227%2F72be2df4-d1c0-4627-baf1-ad63f9899943%2Fzfdd3ah_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 5 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Can you please just input the answer on a sheet with everything answered so i can just copy and paste it beacause its not working by me manually inputing it
I need to be able to test all 3 test cases at the same time like I can't delete one and do the other one because it'll uncheck the one I did already. Can someone please just show me where to plug the numbers in. A person already answered my question but they didn't show me where to plug the numbers in the code.
I need to be able to test all 3 test cases at the same time like I can't delete one and do the other one because it'll uncheck the one I did already.
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781305627482/9781305627482_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781285196145/9781285196145_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781305627482/9781305627482_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781285196145/9781285196145_smallCoverImage.gif)