I barely know where to begin! Can someone help me? The most I know is how to set up the program and declare variables!! Anyway, this is the question to number 1...
1. Write a program that reads in the radius of a circle and prints the circle’s diameter, circumference and area. Use the constant value 3.14159 for π
Diameter = 2 x radius
Circumference = π * diameter
Area = π * radius2
Display the values of diameter, circumference and area using precision of 2.
So, This is what I have so, please know that I am an EXTREME beginner, so this may be incorrect;
#include <iostream>
#include <cmath>
using namespace std;
Its late so I may be missing something. But you are missing a cin for your user to enter a radius. You will need the statement to be placed above your calculations.