143k views
1 vote
can someone write this in c++ in the simplest way possible and pay attention to make the radius as an input

User Therin
by
7.8k points

1 Answer

6 votes

Final answer:

The code in C++ to simply take the radius as an input: #include using namespace std; int main(){ double radius; cout<<"Enter Radius: "; cin>>radius; cout<<"The entered radius is "<

Step-by-step explanation:

In order to create a C++ code that takes a radius as input from the user, you can use the following simple code:

#includeusing namespace std;int main(){double radius;cout<<"Enter Radius: ";cin>>radius;cout<<"The entered radius is "<
User Schlump
by
9.0k points

No related questions found