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
Marina86 [1]
3 years ago
6

Pascal system . write the program that will calculate the perimeter of a rectangle if its area is A (m²) and one of its sides ha

s a length of B (m). A and B are entered from the keyboard.​
Computers and Technology
1 answer:
faltersainse [42]3 years ago
7 0

Answer:

The program in Pascal is as follows:

Program Perimeter;

Uses Crt;

Var

 Length : Real;

 Width : Real;

 Area    : Real;

 Perim : Real;

Begin

 Clrscr;

 Write('Area: ');

 Readln(Area);

 Write('Length : ');

 Readln(Length);

 Width := Area/Length;

 Perim := 2 * (Length + Width);

 Write('Perimeter: ' ,Perim:5:2,'.');

End.

Explanation:

This declares all variables as real

<em>Var </em>

<em>  Length : Real; </em>

<em>  Width : Real; </em>

<em>  Area    : Real; </em>

<em>  Perim : Real;</em>

The program execution begins here<em> </em>

Begin

This clears the screen

 Clrscr;

This prompts the user for Area

 Write('Area: ');

This gets input for Area

 Readln(Area);

This prompts the user for Length

 Write('Length : ');

This gets input for Length

 Readln(Length);

This calculates the width

 Width := Area/Length;

This calculates the perimeter

 Perim := 2 * (Length + Width);

This prints the calculated perimeter

 Write('Perimeter: ' ,Perim:5:2,'.');

This ends the program

End.

You might be interested in
is there anybody out there who is a social butterfly like me? If so then you can tlk to me on this. and to anybody out there tha
Natali [406]

Answer:

I'm a shy guy myself.

Explanation:

I've been working on it for years. Been talking to my friends online.

7 0
3 years ago
Can someone help me out with this question?​
SpyIntel [72]

Answer:

I think the answer might be D

6 0
4 years ago
DSSS uses a chipping code to encode redundant data into the modulated signal. Which two of the following are examples of chippin
Schach [20]

Answer:

Option A and Option D

Explanation:

5 0
4 years ago
Which of the following is NOT an example of application software?
Natasha2012 [34]

Answer:

I would say Windows

Explanation:

Windows is an operating system. It runs applications, but in and of itself, its not an application. but im not 100% certain

hope i helped :D

6 0
3 years ago
Motivational appeals refer to
Lesechka [4]

Answer: D) All of the given options

Explanation:

Motivational appeals refers to the an emotional nature developed to increase individual values. It is a tool of emotions which target the psychological needs. It is a visualization of someone's desire and values and method of satisfying the emotions. Motivational appeals are divided into many categories like motivation and emotions.

3 0
3 years ago
Other questions:
  • Garrett has a column of data. What can he do at the bottom of that column of data using an Auto function? Check all that apply.
    8·2 answers
  • What pattern is a heart-shaped pattern that captures sound from a single direction, ?from the front?
    5·1 answer
  • Describe the steps to play a presentation the way your audience will see it.
    8·2 answers
  • Write a program that computes the minimum, maximum, average and standard deviation of the population over time for a borough (en
    6·1 answer
  • Why does a print document need a higher raster effect setting ?​
    14·1 answer
  • HELP ME PLEASEEEE
    8·1 answer
  • Cryptocurrencies are digital tokens that are created independently of government money, and can act as a medium of exchange and
    15·1 answer
  • G. What are handheld computers? Write its types.​
    7·1 answer
  • A _____ focuses on creating software systems like tools, utilities, antivirus programs, and operating systems.
    12·2 answers
  • A common business practice is to include a worksheet named Documentation that contains a description of the workbook, the name o
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!