The circumference of the circle is 33.912 The area of the circle is 91.5624
// This program will output the circumference and area
// of the circle with a given radius.

#include
using namespace std;
const double PI = 3.14;
const double RADIUS = 5.4;
int main()
{

_________ area; // definition of area of circle

float circumference; // definition of circumference
circumference = 2 * PI * RADIUS; // computes circumference

area =_____________; // computes area

// Fill in the code for the cout statement that will output (with description)

// the circumference

// Fill in the code for the cout statement that will output (with description)
// the area of the circle

return 0;

}

Answers

Answer 1

Given: The circumference of the circle is 33.912 and The area of the circle is 91.5624The formula for circumference is given by.Circumference

= 2 × π × RadiusWhere π

= 3.14 and Radius

= 5.4 units.Circumference

= 2 × 3.14 × 5.4Circumference

= 33.912As per the question, circumference of the circle is 33.912.The formula for the area of the circle is given by:Area

= π × Radius2Area

= πr2Where π

= 3.14 and Radius

= 5.4 units.Area

= 3.14 × (5.4)2Area

= 3.14 × 29.16Area

= 91.5624As per the question, the area of the circle is 91.5624.Now, we have to fill in the blank spaces of the given code snippet:#include using namespace std;

const double PI

= 3.14;const double RADIUS

= 5.4;int main(){ double area;

// definition of area of circlefloat circumference;

// definition of circumferencecircumference

= 2 * PI * RADIUS; // computes circumference area

= PI * RADIUS * RADIUS;

// computes areacout << "Circumference of circle is " << circumference << endl;

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

return 0;

}

Hence, the required output is:Circumference of circle is 33.912Area of circle is 91.5624.

To know more about area visit:

https://brainly.com/question/30307509

#SPJ11


Related Questions

Other Questions
to answer the question below, browse the home section in the culturegrams. what is the story behind the emblem of switzerland's flag? Earleton Manufacturing Company has $2 billion in sales and $471,500,000 in fixed assets. Currently, the company's fixed assets are operating at 85% of capacity.What level of sales could Earleton have obtained if it had been operating at full capacity? Write out your answers completely. For example, 13 million should be entered as 13,000,000. Round your answer to the nearest dollar.$What is Earleton's target fixed assets/sales ratio? Do not round intermediate calculations. Round your answer to two decimal places.%If Earleton's sales increase 20%, how large of an increase in fixed assets will the company need to meet its target fixed assets/sales ratio? Write out your answer completely. Do not round intermediate calculations. Round your answer to the nearest dollar.$ n simple linear regression, r 2 is the _____.a.coefficient of determinationb.coefficient of correlationc.estimated regression equationd.sum of the squared residuals which of the following statements about miscible liquids is correct? i. the components form a homogeneous solution. ii. the partial pressure of each component is the vapor pressure of the mixture times the components mole fraction. iii. each component has its own vapor pressure. when your hand touches a hot stove, you immediately and reflexively pull it away. This action was controlled by your _____A)CNSB)spinal cordC)brainD)reflexes To address the eurozone crisis, the European Central Bank (ECB) adopted a negative interest rate policy in 2014. The ECB lowered its deposit rate to -0.1% that year to hold off deflation and move the economic bloc out of a prolonged recession. Today, the ECB deposit rate is - 0.5%, the lowest on record. In theory, negative rates would boost the economy by encouraging consumers and banks to take more risks through borrowing and lending money. Using the IS-LM framework, explain why traditional monetary policy fails in the presence of zero lower bounds, and how the negative interest rate policy may help the ECB to bring the economy out of recession. [20 marks]MUST USE IS-LM MODEL TO EXPLAIN A Grignard reaction will fail in the presence of which species? A diethyl ether B alkenes C aromatic groups D water requests to perform research studies are considered by which hospital group?a. Board of Directorsb. Medical Record Committeec. Administrationd. Institutional Review Board A production department's output for the most recent month consisted of 19,500 units completed and transferred to the next stage of production and 19,500 units in ending Work in Process inventory. The units in ending Work in Process inventory were 60% complete with respect to both direct materials and conversion costs. There were 2,900 units in beginning Work in Process inventory, and they were 80% complete with respect to both direct materials and conversion costs. Calculate the equivalent units of production for the month, assuming the company uses the weighted average method. 00:44:45 Ask Multiple Choice O O 20,080 units. 19.500 units. 31,780 units. units. 31,200 units. what is the form of business ownership where you are taxed only at the personal level? The National Fire Protection Association has classified firesaccording to three basic types. List them, including a briefdescription of each. The declaration's mention of a "heavy toll" on the third paragraph was most likely a reference to which of the following? A. The casualties of the first war B. The deaths that occurred as a result of the use of nuclear weapons during the second war C. The deaths that occurred during the holocaust D.the mass violence that occurred under communist leaders, such as Mao Zedong Find the sum of the first 27 termsof the arithmetic sequence.First, fill in the equation.a= 5 and a27Sn = 2/(a + an)Sn =[?]2+=83 Choose the correct answer (Geology)5. Isoclinal fold has: O a. The two limbs dip in the same direction. Ob. The two limbs dip at equal angle in the same direction. O c. The two limbs dip at equal angle in different direction. the somatosensory cortex serves as the leading edge of the ____ lobe. .currently have 179,000 in a bond account. You plan to add $6,100 per year at the end of the next 10 years to your bond account. the bond account will earn a return 7.75 percent the next ten years so how much will you have when you retire?You are planning your retirement in 10 years. You currently have $179,000 in a bond account You plan to add $6.300 per year at the end of each of the next 10 years to your bond account. The bond account wit eam a retum of 275 percent in each of the next 10 years. How much will you have when you retire? Do not round immediate calculations and round your final answers to 2 decinal places. Given f(x)=x^2-6x+8 and g(x)=x^2-x-12, find the y intercept of (g/f)(x)a. 0b. -2/3c. -3/2d. -1/2 Due to the severity of COVID 19 on households, the government of Australia announced Job Keeper Allowances to be given to the labour force that had lost employment. a. Examine the impact of Job Keeper Allowances during the COVID 19 recession on Australia's economy