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
nataly862011 [7]
3 years ago
3

Codehs 7.4.6: Gymnastics Mats

Computers and Technology
1 answer:
alex41 [277]3 years ago
6 0

Answer:

A code in C++ follows:

Explanation:

#include<iostream>

using namespace std;

int calculate_area(int width, int length)

{

int area;

area=width*length;

return area;

}

int main()

{

int a,b,ar,c,d,ar1,n;

cout<<"\nEnter length of room:";

cin>>a;

cout<<"\nEnter width of room:";

cin>>b;

ar=calculate_area(a,b);

cout<<"\nArea of room:"<<ar<<" units";

cout<<"\nEnter length of mat:";

cin>>c;

cout<<"\nEnter width of mat:";

cin>>d;

ar1=calculate_area(c,d);

n=ar/ar1;

cout<<"\nNumber of mats required are:"<<n;

return 0;

}

You might be interested in
In order to be compliant with the NIST publications, policies must include key security control requirements. One of these key r
lesya692 [45]

Answer:

True

Explanation:

In order to be compliant with the NIST publications, policies must include key security control requirements. One of these key requirements includes certification and accreditation, which is a process that occurs after the system is documented, controls tested, and risk assessment completed. It is required before going live with a major system. Once a system is certified and accredited, responsibility shifts to the owner to operate the system is a true statement.

8 0
4 years ago
Which girl is he baddest 1. Shawty 2.Lisa 3.Ashley
Ainat [17]

Answer:

. . . . . . . S H A W T Y.. . .. . .

3 0
3 years ago
Is a NAS just a collection of hard drives or a computer
skelet666 [1.2K]

Answer:

NAS systems are networked appliances that contain one or more storage drives, often arranged into logical, redundant storage containers or RAID.

8 0
4 years ago
What are two distinctive types of unmanned aircraft systems
chubhunter [2.5K]
Probes and Drones
Hope this helps and please give brainliest!
8 0
4 years ago
What does usb stand for
e-lub [12.9K]
Universal Serial Bus
8 0
3 years ago
Read 2 more answers
Other questions:
  • To use the program service routines, the user's program makes requests to the operating system through the
    10·1 answer
  • In which of the following ways can using test-taking tips help you?
    7·1 answer
  • Briefly explain what is net neutrality and why is it important today
    15·1 answer
  • Which of the following is a default letter assigned for the primary hard drive
    6·2 answers
  • . A wireless ……..is a device used to resolvewireless network connectivity problems.
    8·1 answer
  • Modify the CountByFives application so that the user enters the value to count by. Start each new line after 10 values have been
    7·1 answer
  • Explain the following buttons as used in emails:compose,inbox and Draft.<br>​
    10·1 answer
  • Edhesive 2.3 code practice question 1​
    11·1 answer
  • Guidewords for the word “serpent” may be
    8·2 answers
  • Discuss the concept of the “state of a process”. Give examples to illustrateyour answers?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!