From the given figure, write a program in C++ LANGUAGE to read the height of cylinder then calculate the volume and the side area of cylinder in the case that the height of all cylinders is greater than or equal to 4.9955 cm according base radius r height h to these rules: i. Volume = height the base area ii. Side area = base height * the base perimeter Suppose the number of cylinders is 500 10 M

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 7E: Write a C# program named ProjectedRaises that includes a named constant representing next years...
icon
Related questions
icon
Concept explainers
Question
O U U l::EY
Coding C++
MENU
RUN
Auto saved at \·:E•:0M
#include<iostream>
using namespace std;
1
3
int main()
}
int x,y,z,m,avg;
cout<<"x="<<x; cin>>x;
cout<<"y="<<y; cin>>y;
cout<<"z="<<z; cin>>z;
cout<<"m="<<m; cin>>m;
avg=(x+y+z+m)/4;
cout<<"avg="<<avg;
4
7
8
10
11
12
14
return 0;
{
15
16
{}
Tab
&
II
>
↑ G
Transcribed Image Text:O U U l::EY Coding C++ MENU RUN Auto saved at \·:E•:0M #include<iostream> using namespace std; 1 3 int main() } int x,y,z,m,avg; cout<<"x="<<x; cin>>x; cout<<"y="<<y; cin>>y; cout<<"z="<<z; cin>>z; cout<<"m="<<m; cin>>m; avg=(x+y+z+m)/4; cout<<"avg="<<avg; 4 7 8 10 11 12 14 return 0; { 15 16 {} Tab & II > ↑ G
From the given figure, write a program in C++
LANGUAGE to read the height of cylinder then calculate the
volume and the side area of cylinder in the case that the height
of all cylinders is greater than or equal to 4.9955 cm according
base
radius r
height h
to these rules:
i. Volume = height the base area
Side area = height * the base perimeter
base
ii.
Suppose the number of cylinders is 500
10 M
Transcribed Image Text:From the given figure, write a program in C++ LANGUAGE to read the height of cylinder then calculate the volume and the side area of cylinder in the case that the height of all cylinders is greater than or equal to 4.9955 cm according base radius r height h to these rules: i. Volume = height the base area Side area = height * the base perimeter base ii. Suppose the number of cylinders is 500 10 M
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,