(Program) Write a C++ program that stores the integer value 16 in the variable length and the integer value 18 in the variable width. Have your program calculate the value assigned to the perimeter variable, using this formula:
perimeter = 2 × (length + width)
Your program should then display the value stored in perimeter. Be sure to declare all variables as integers at the beginning of the main() function.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.