Question: I've included an example of a much more complex solution to a problem shared in lecture here: . But the problem given is much shorter:

 I've included an example of a much more complex solution to

I've included an example of a much more complex solution to a problem shared in lecture here:

a problem shared in lecture here: . But the problem given is.

But the problem given is much shorter:much shorter: PLEASE READ I'm in a beginning class and we're juststarting to learn how to make simple C++ programs using Putty. I

PLEASE READ I'm in a beginning class and we're just starting to learn how to make simple C++ programs using Putty. I need help doing problems and fully understanding how to do them so that I can do others like them on my own. #include //for cn, cout using namespace std; int main() //declare variables double radius: //radius of circle double area; //area of circle double circumference: //circumference of circle int iArea; //area rounded to the nearest integer int iCir; //circumference rounded he nearest nteger const double PI3.14159: //the pi value //get the radius of a circle cout radius //calculate the area & circumefrence area PIradius radius: circumference2PIradius; iArea (int) (area 0.5): //area in double is rounded to the nearest integer iCir-(int) (circumference 0.5): //circumference in double is rounded to the nearest integer //output the information cout >id //write a cout statement to show the id entered along with a message as follows: //Your student id is 12345

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets work through the problem of creating a simple C program to calculate the area and circumference ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!