1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
algol [13]
4 years ago
8

Develop a program that will calculate the area and perimeter of a rectangle. The length and width can be given as constant.(LENG

TH= 8 WIDTH=8).
Computers and Technology
1 answer:
o-na [289]4 years ago
8 0

Answer:

#include <iostream>

using namespace std;

int main()

{

 

  int length = 8;

  int width = 8;

 

  int perimeter = 2*(length + width);

  int area = length * width;

 

  cout<<"The perimeter is "<<perimeter<<endl;

  cout<<"The area is "<<area<<endl;

 

  return 0;

}

Explanation:

include the library iostream for using the input/output instructions in the c++ programming.

Create the main function and define the variable length and width with values.

Then, use the formula for calculating the perimeter and area of rectangle.

perimeter = 2*(length + width)

area = length * width

and store in the variables and finally print the output.

You might be interested in
How to change default search engine in internet explorer 11?
nordsb [41]
<span>1.Open Internet Explorer.
2.In the top right corner of your browser, click the down arrow in the search box.
3.Click Find More Providers.
4.Click Google.
5.Check the box next to "Make this my default search provider.
6."Click Manage Search Providers.
<span>7.Click Add.

hope this helps :D</span></span>
5 0
3 years ago
Advantage of realtime processing​
Ray Of Light [21]

Answer:

Advantages of Real-time Software. Maximum system consumption is achieved from real-time software because it produces more output by using all resources while keeping all devices active. There is no or little downtime in such systems. It can be used by hosted servers to get maximum results from hosting companies.

Explanation:

8 0
3 years ago
Which programming language is good for 14 year old like me​
ddd [48]

Answer:

It would be Python code

Explanation:

4 0
3 years ago
Read 2 more answers
3.6 code practice (edhesive)
Pie

largest = int(input("Enter a number: "))

print("Largest: {}".format(largest))

i = 0

while i < 5:

   num = int(input("Enter a number: "))

   if num > largest:

       largest = num

   print("Largest: {}".format(largest))

   i += 1

I hope this helps!

4 0
3 years ago
A client has macular degeneration resulting in moderate visual impairment. The client works as a data entry clerk and wants to c
weqwewe [10]

Answer:

Low Vision Aid for Computer Users

Explanation:

Visually impaired people can use the same low vision aids for viewing a computer screen as they do for regular reading activities. These include eyeglass-mounted magnifiers, handheld magnifiers and stand-alone magnifiers.  But also, special software has been developed to display content on the screens of computers and other digital devices in large print. Other applications can read text and other visual content aloud with a synthetic voice.  These adaptive low vision devices let partially sighted people do the same computer-related tasks as fully sighted people — such as word processing, creating and using spreadsheets and viewing web pages online.

4 0
3 years ago
Other questions:
  • Fill in the missing statements or expressions in the following code that checks to ensure that a user enters an integer value at
    11·1 answer
  • Implement function translate() that provides a rudimentary translation service. The function input is a dictionary mapping words
    9·1 answer
  • The protocol that enables computers on the Internet to communicate with one another is called _____.
    5·1 answer
  • Maggie is preparing a business report. Which types of keys will she use to type out words and numbers?
    9·1 answer
  • In reference to computer communications, what does the term noise mean?
    8·2 answers
  • A weighted GPA counts__more highly.
    12·1 answer
  • Help me pls!!! last question
    9·1 answer
  • Which of the following was (and still is) used by computer programmers as a first test program?
    13·2 answers
  • What is one way that Accenture helps clients ensure fairness when applying AI solutions?
    13·1 answer
  • The agency that started ARPANET was looking for
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!