Question
I need help with this C++ code Instruction: The program is not completed and need to edit it and to complete. // This program will
I need help with this C++ code
Instruction: The program is not completed and need to edit it and to complete.
// This program will output the circumference and area
// of the rectangle with a given width and length
// PLACE YOUR NAME HERE
// PLACE THE DATE HERE
#include
using namespace std;
int main()
{
int length = 8;
int width= 3;
_________ area; // definition of area of rectangle
_________ perimeter; // definition of perimeter of rectangle
area =_____________; // computes area
perimeter =_____________; // computes perimeter
// Fill in the code for the cout statement that will output (with description)
// the area
// Fill in the code for the cout statement that will output (with description)
// the perimeter
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started