Home > Back-end >  Bosses explain me learn for 2 days
Bosses explain me learn for 2 days

Time:12-04

I am a small white beginner I want you to explain why I in c + + is round one is double r, l, s feeling with the formula of circle of can not explain thank you

CodePudding user response:

L=2 PI r
S=PI r r
That if, in accordance with the double r l s that are not in the two formulas

CodePudding user response:

L=2 PI r
S=PI r r
That if, in accordance with the double r l s that are not in the two formulas

CodePudding user response:

refer to the original poster qq_49463656 response:
I am a small white beginner I want you to explain why I in c + + is round one is double r, l, s feeling with the formula of circle of can not explain? Thank you

L=2 PI r
S=PI r r
That if, in accordance with the double r l s that are not in the two formulas

CodePudding user response:

No code, who can understand what you said?

CodePudding user response:

refer to 4th floor, Simple, Soft reply:
code, who can understand what you said?

I'll mend them

CodePudding user response:

#include
using namespace std;
Int main () [
Const float PI=3.14159;
Double r, l, s;
Cin & gt;> r;
1=2 * PI * r;
S=PI * r * r;
Cout & lt; <1 & lt; <return 0;

CodePudding user response:

refer to 6th floor qq_49463656 response:
# include
using namespace std;
Int main () [
Const float PI=3.14159;
Double r, l, s;
Cin & gt;> r;
1=2 * PI * r;
S=PI * r * r;
Cout & lt; <1 & lt; <return 0;

Variables change, write

CodePudding user response:

I am a copy of the book

CodePudding user response:

refer to 6th floor qq_49463656 response:
# include
using namespace std;
Int main () [
Const float PI=3.14159;
Double r, l, s;
Cin & gt;> r;
1=2 * PI * r;
S=PI * r * r;
Cout & lt; <1 & lt; <return 0;

No wrong, is not PI r party?

CodePudding user response:

refer to 6th floor qq_49463656 response:
# include
using namespace std;
Int main () [
Const float PI=3.14159;
Double r, l, s;
Cin & gt;> r;
1=2 * PI * r;
S=PI * r * r;
Cout & lt; <1 & lt; <return 0;

No wrong, is not PI r party? You just copying errors, write big s and small s l as 1

CodePudding user response:

Suggest to review the elementary school mathematics,
L said the circumference of the circle of
S the area of a circle
 # include 
using namespace std;
Int main () [
Const float PI=3.14159;
Double r, l, s;
Cin & gt;> r;
1=2 * PI * r;
S=PI * r * r;
Cout & lt; <1 & lt; <return 0;


You copy this code is not ah, waiting for you to copy the code in the look back, and copy into 1 l, s, the case of both,,, braces copy into expansion,,,,

CodePudding user response:

 # include 
using namespace std;
Int main ()
{
Const float PI=3.14159;
Double r, l, s;
Cin & gt;> r;
L=2 * PI * r;
S=PI * r * r;
Cout & lt; CodePudding user response:

L is circumference, S is the area, the upstairs right, you write 1, however, variable in C generally don't o, L, z, under some fonts, especially easy to 0, and make a mistake,
  • Related