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
elena-s [515]
2 years ago
8

Take values of length and breadth of a rectangle from the user and check if it is square or not.

Computers and Technology
2 answers:
Elanso [62]2 years ago
7 0

Answer:

Since someone else answered in python, I will answer in c++

The complete program written in C++ is as follows:

int length;

int width;

cout << "Length: ";

cin >> length;

cout << "Width: ";

cin >> width;

if (length == width) {

 cout << "Square";

} else {

 cout << "Rectangle";

}

Alecsey [184]2 years ago
5 0

The program is a conditional program, and it requires an if statement

<h3>The program in Python</h3>

The complete program written in Python is as follows:

length = int(input("Length: "))

width = int(input("Width: "))

if length == width:

  print("Square")

else:

  print("Rectangle")

Read more about Python programs at:

brainly.com/question/24833629

#SPJ1

You might be interested in
A computer can function in the absence of software true or false​
NISA [10]

Answer:false

Explanation:

7 0
3 years ago
Read 2 more answers
This is not a factor that you should use to determine the content of your presentation. Your audience your goals your purpose yo
aksik [14]

Your technology I believe

4 0
3 years ago
Read 2 more answers
Why is it useful for students to practice the MLA and APA citation methods?
notka56 [123]

Answer:

Citing or documenting the sources used in your research serves three purposes:

It gives proper credit to the authors of the words or ideas that you incorporated into your paper.

It allows those who are reading your work to locate your sources, in order to learn more about the ideas that you include in your paper.

5 0
3 years ago
Explain the features of page layout software ​
BartSMP [9]

Answer:

Page Layout explains how the document pages are going to look like after printing. When we check the layout in Word, then we can see that the page layout covers the elements like margins, number of columns, option for editing the header and footers. Various types of layouts are like a magazine layout, static, adaptive, dynamic, and adaptive as well as responsive layout.

And these page layout techniques are being implemented for customizing the magazine appearance, books, newspapers, websites, and various other sorts of publications. And such page layout covers page's all elements. Some of the best page layout software are:

Microsoft Publishers

Scribus

Adobe InDesign

QuarkXpress

Xara

Download the free student version of Microsoft Office today, and explore Microsoft publisher to know more about it.

Explanation:

Please check the answer.

7 0
3 years ago
What does clicking and dragging the fill handle in excel
Olegator [25]

Answer:

The fill handle copies the same values, formulas, or fills a series of dates, texts, numbers, and other data to a desired number of cells. ... Click and hold the handle, then you can drag up, down, across over other cells. When you release your mouse button, it auto-fills the content to the cells you dragged over.

5 0
2 years ago
Other questions:
  • _______ refers to the poitically, religiously, or ideologically motivated use of computers (or related technology) by an individ
    15·1 answer
  • Variables in PHP must begin with what symbol?
    11·1 answer
  • Which of the following actions might contribute to recommendations you see online?
    6·1 answer
  • Another pitfall cited in Section 1.10 is expecting to improve the overall performance of a computer by improving only one aspect
    13·1 answer
  • Adobe Indesign project 4 museum indesign file. The instructions are 70 pages long I cant sit still long enough to read them
    11·1 answer
  • What does this function do in the code?
    5·2 answers
  • WHY DO YOU DElete EVERY QUESTIONS THAT IS ASKED! Im a freaking guy, yes and i wont followers for my channel so leave me alone!
    7·2 answers
  • QUESTION 1
    6·1 answer
  • The most serious security threat to Bluetooth-enabled devices is ____, which occurs when a hacker gains access to the device and
    10·1 answer
  • You are reviewing a friend’s HTML project. You notice that the only metadata is the title. Furthermore, you ask your friend abou
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!