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
Simora [160]
3 years ago
5

The area of a rectangle is the rectangle's length times its width.

Computers and Technology
1 answer:
aliya0001 [1]3 years ago
4 0

Answer:

Following are program to this question:

#include <iostream> //defining header file  

using namespace std;  

int main() //defining main method

{

   double len1,len2,wid1,wid2,area1,area2; //defining double variable

   cout << "Enter first rectangle length: "; //print message

   cin >> len1;//input first rectangle length value

   cout << "Enter first rectangle width: ";//print message

   cin >> wid1; //input first rectangle width value

   area1 = len1*wid1; //calculate area and holds its value  

   cout << "Enter second rectangle length: ";//print message

   cin >> len2; //input second rectangle length value

   cout << "Enter second rectangle width: ";//print message

   cin >> wid2; //input second rectangle width value

   area2 = len2*wid2; //calculate area and holds its value  

   if(area1 > area2) //check condition area1 value is greater then area2

   {

    cout << "First rectangle area value is greater";//print message

   }

   else if(area2 > area1)//check condition area2 value is greater then area1

   {

       cout << "Second rectangle area value is greater";//print message

   }

   else //else block

   {

       cout << "both rectangle area is same";//print message

   }

   return 0;

}

Output:

Enter first rectangle length: 3

Enter first rectangle width: 5

Enter second rectangle length: 5

Enter second rectangle width: 3

both rectangle area is same

Explanation:

The description of the above program can be described as follows:

  • In the given code, the double variable is declared, which is "len1, len2, wid1, wid2, area1, and area2". In the next line, a message is a print, that accepts "len1 and wid1" value in the next line, the area variable is used that calculates area1.
  • In the next step, the "len2 and wid2"  variable is used, that accepts values and calculates its area, and in the next line, the conditional statement is used that checks its value.
  • In the if the block it uses both area1 and area2 value, that checks area1 is greater then area2, it is will print first rectangle area is greater.  
  • Otherwise, it will go to else if block, that checks area2 is greater then area1, it is will print second rectangle area is greater.  In the else section, it will print both equal areas.

You might be interested in
Which of the following would be considered the highest risk portfolio?
sashaice [31]

The best option is (C) A portfolio made up of 60% stocks, 30% mutual funds, and 10% Treasury bonds.

There are a lot of risks involved when investing in almost anything. You may end up paying a lot for something that may not be worthwhile and at the end of it all end up losing a lot more than you get. In this case, more than half of the money has been invested in stocks and the prices of stocks change daily. Investing in stocks may give a good return but remains high risk to involve yourself in and should be avoided as much as possible.






4 0
3 years ago
Which qualifications are typical for someone working in Marketing Information Management and Research?
Harman [31]

Answer:

• good teamwork skills and knowledge of search engines and social media.

• math skills for calculating prices, good teamwork, and physical stamina.

• a pleasant attitude, critical-thinking skills for designing surveys, and social awareness.

• creativity, persuasiveness, and good social skills when dealing with news media contacts.

Explanation:

Marketing Information Management and Research is a system in an organization whereby skills such as Marketing Information and Research are made use of by marketers to ensure that they come to know who their consumers are , what exactly the consumers want and how they can satisfy the needs and wants of the consumers using a very fast , precise and correct methods.

A person who works in Marketing Information Management and Research must have the following skills:

• good teamwork skills and knowledge of search engines and social media : Accurate knowledge of search engines such as google e.t.c. helps a person working in Marketing Information Management and Research to have access to the latest trends that consumers follow. These trends provides adequate information about the needs of consumers that is required in research.

Good teamwork skills is very important as it makes working in Marketing Information Management and Research very orderly, there is absence of chaos, when working with one another, creative ideas are obtained.

• math skills for calculating prices, good teamwork, and physical stamina : These skills above are very essential because such a person need to have adequate knowledge of the prices of goods and services that they produce. Physical stamina is also and essential skill.

• a pleasant attitude, critical-thinking skills for designing surveys, and social awareness : These qualifications are important because critical thinking helps a such a person to be able to come up with or create a solution using information from the surveys to accurately meet the needs of the consumers.

Having skills in social awareness gives the person working in Marketing Information Management and Research up to date information about what a consumer wants at this particular time or moment.

• creativity, persuasiveness, and good social skills when dealing with news media contacts: These skills are essential because consumers need to see creativity in products and services that they want as it makes them more attractive.

Having good social skills when dealing with news media contacts is also very important.

6 0
3 years ago
Which type of collaborative tool allows people to communicate using the
frosja888 [35]
D because people can communicate using video conferencing
7 0
3 years ago
this isnt a question but i am looking for anything willing to help me with my work. i have 50 missing assignments just in one cl
Zarrin [17]

Answer:

just find it

Explanation:

ambot lng kay wa mn gd nako to gi gunitan nya wa pd ko nimo gipa bantay nya biskan pag pabantayon ko nimo ilabay jd nakog saba

4 0
4 years ago
When designing a website, Claire creates a color palette for the web pages. How can the color palette help Claire design effecti
Vilka [71]
Consistency and unity
highlight important content
4 0
3 years ago
Other questions:
  • For film editors, which task comes last in their workflow pattern?
    12·2 answers
  • Ted is a fashion designer. Where is he most likely to work
    9·1 answer
  • Using a loop, write a program that reads in exactly five integers and outputs the sum.
    11·1 answer
  • Mobile devices need to work within limited screen space .
    11·1 answer
  • Now imagine that we have a list of 5 employees who have each worked 45, 15, 63, 23, and 39 hours. We'll fix rate_of_pay at 10. P
    10·1 answer
  • Which operation on a pwc requires more than idle speed?
    8·1 answer
  • Which of these identifies the intersection of row 16 and column D?
    14·1 answer
  • Which of the following is NOT an e-reader you would use as an alternative to carrying around a set of textbooks?
    13·1 answer
  • What is the genetic material that organisms pass on to their offspring when they reproduce?
    11·1 answer
  • The science of networking is attributed to which government's involvement?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!