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
algol13
2 years ago
9

Write a Pascal program that will prompt the user to enter the radius of a circle.

Computers and Technology
1 answer:
Sladkaya [172]2 years ago
3 0

A Pascal program that will prompt the user to enter the radius of a circle is as here as follows.

<h3>How is the circumference of a circle programmed? </h3>

The circumference of a circle can easily be calculated with the following formula. Circumference = 2*pi*r where r is the radius of the circle and the value of pi = 3.1415.

  1. int main() { int rad;
  2. swimmers PI=3.14, area, ci; printf("\nEnter radius of circle: ");
  3. scanf("%d", andrad); area = PI * rad * rad;
  4. printf("\nArea of circle : %f ", area); ci = 2 * PI * rad;
  5. printf("\nCircumference : %f ", ci); return (0):

Read more about the  Pascal program:

brainly.com/question/23566992

#SPJ1

You might be interested in
When an expression containing a ____ is part of an if statement, the assignment is illegal.
KATRIN_1 [288]

Answer:

single equal sign

Explanation:

The if statement is used for check the condition.

syntax:

if(condition)

{

  statement;

}

let discuss the option one by one for find the answer:

Option a:  greater than sign

this assignment operator '>' is valid. it is used to create the condition like n>0, p>4.

Option b:  double equal sign

this assignment operator '==' is valid. it is used to check the equal condition.

like 2 == 2.

Option c:  single equal sign

this assignment operator '=' is not valid. it is used for assign the value to variable not for checking like a=2, in this 2 assign to a but it not apply the condition.

Option d:  Boolean value

we can provide the Boolean value as well if Boolean is TRUE, if condition true otherwise false.

Therefore, the option c is correct option.

3 0
3 years ago
Read 2 more answers
why do programs include keyboard shortcuts for certain actions? do you prefer the mouse or the keyboard/ why?
Archy [21]
I would prefer the shortcut because it would make it easier to open tabs and close them too. but the can also help you with other stuff to .
4 0
3 years ago
What considerations have to be kept in mind with JPEG
topjm [15]
JPEG is a file format for an image that will be compressed. Since it compressed the file size will be much smaller. That makes JPEG is one of the most used file types for images and was a default format for many application. But the drawback of compressing an image is that a portion of the data will lose and will cause the image quality dropped or produce a noise.
8 0
3 years ago
A type of graph that uses horizontal bars to compare data is called a
sergiy2304 [10]
The answer is A) a bar graph

6 0
3 years ago
Read 2 more answers
________ are websites that provide collections of content from all over the world wide web a. aggregators b. social networks c.
marta [7]
The answer would be a.) aggregators
5 0
2 years ago
Other questions:
  • MIDI is a A.technology based on placing brief digital recordings of live sounds under the control of a synthesizer keyboard. B.t
    10·1 answer
  • Select the correct answer.
    10·2 answers
  • What is a Software that interprets commands drom the keyboard and mouse
    13·1 answer
  • What is output?
    13·1 answer
  • What is the second step when designing an algorithm?
    12·2 answers
  • What would give Lucy, an entry-level candidate, an edge over others while she seeks a programmer’s position? Lucy, an entry-leve
    11·1 answer
  • In what situations might you need to use a function that calls another function?
    11·1 answer
  • If you notice that a worksheet displays columns A, B, C, E, and F, what happened to column D?
    9·1 answer
  • What is my mistake on this code? (Python)
    9·1 answer
  • a data analyst is working with a spreadsheet that has very long text strings. rather than counting the characters themselves to
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!