summaryrefslogtreecommitdiff
path: root/Broken Project.cp
blob: 7e40fda178e20d938a69c429a273ae1b4ed440ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
#define PI = 3.14;
using namespace std;


int main()
{
    int volume = 0;
    int Radius = 0;
    int Height = 0;
    
    
    cout << "Enter Radius";
    cin >> Radius;
    
    cout << "Enter Height";
    cin >> Height;
    
    volume = 3.14 * Radius * Height;
    
        cout << "The volume of the cylinder is approximately" << volume << std::endl;
    
    
    return 0;
    
}