Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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

image text in transcribed.

But the problem given is much shorter:image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions