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
taurus [48]
3 years ago
8

Develop a program so that the output will produce the following :

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

Answer:

 #include <iostream>

using namespace std;

int main()

{

  float radius = 5.4;

  float circumference = 2 * 3.14 * radius;

  float area = 3.14 * radius * radius;

 

  cout<<"the circumference of the circle is "<<circumference<<endl;

  cout<<"the area of the circle is "<<area<<endl;

  return 0;

}

Explanation:

Include the library iostream for using the input/output instructions.

create the main function and define the variable with value. Then,

use the formula to calculate the circumference and are of circle.

circumference = 2*\pi *radius

area = \pi * radius^{2}

here, choose \pi = 3.14

after that, display the result.

Note: All variable define in float type.

You might be interested in
Item 19 A student pushes a box across a rough horizontal floor. If the amount of work done by the student on the box is 100 J an
tatiyna

Answer:

60 J

Explanation:

Given,

Work done to push the box = 100 J

Energy dissipated by friction = 40 J.

According to work energy theorem work done is equal to change in kinetic energy.

Change in Kinetic energy = Work done by student + Work done by friction

Change in Kinetic energy = 100 J - 40 J

Work done by the friction will be negative because it will act in opposite direction of force applied.

Change in Kinetic energy = 60 J

4 0
4 years ago
A golf ball is at rest on the grass. What must happen to cause the ball to move?
kondaur [170]
It would be friction
Hitting the ball will create friction!
8 0
3 years ago
Question 12 There are ____ octets in an IP address.
Marta_Voda [28]
The standard IP convention used in today's network is IPv4. Taking for example one basic IP address we have 192.168.1.1 - The ff IP has 4 octets. An octet is a group of 8 bits on the sample, we have 4 Octets making up 32 a standard 32 bit address.
6 0
4 years ago
Pls help! 7th grade pythin fyi
larisa [96]

Answer:

There should be a colon at the end of the if statement, ie:

<h2>if x > 100:</h2><h2>  print("...")</h2>

8 0
3 years ago
In what year was the first world-wide web software created by tim berners-lee?
Elena L [17]
1989 <span>A graduate of Oxford University, Tim Berners-Lee invented the Web while at CERN, the European Particle Physics Laboratory, in </span>1989<span>. He wrote the first web client and server in </span>1990<span>.</span>
6 0
3 years ago
Other questions:
  • A contact list is a place where you can store a specific contact with other associated information such as a phone number, email
    8·1 answer
  • List the five body functions that monitor homeostasis.
    7·1 answer
  • What are the two main parts of system unit hardware?
    8·1 answer
  • If anyone has the answer for this that would be really helpful!!
    8·2 answers
  • In what kind of attack can attackers make use of hundreds of thousands of computers under their control in an attack against a s
    7·2 answers
  • Notebook is the answer
    9·2 answers
  • It is a life long skills like spelling, it is a skill of typing data currently and quickly using a computer keyboard
    9·1 answer
  • Which of the follow efficiencies would be considered unreasonable?
    13·1 answer
  • Which Annotation tool provides the ability to convert the mouse icon when giving a presentation to better focus the
    14·1 answer
  • ________ is used to enter the results of a CBC into the computer system.pharmacy system.laboratory system.order entry/results re
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!