Home > Net >  For bosses to solve
For bosses to solve

Time:09-24

Write a console application, respectively output between 1-100 square, square root, the natural logarithm of mathematics with the table, no thinking

CodePudding user response:

Subject is not clear can ask your teacher,

CodePudding user response:

reference 1st floor github_36000833 response:
subject not clear can ask your teacher,

Topic is so write ah

CodePudding user response:

Base values
1
22 4
3 6
4 8
5 to 10
6 to 12
7 to 14
August 16
September 18
10 20
11 22
12 and 24
13 of 26
14, 28
15 to 30
16 and 32
17 34
18 to 36
19 38
20 and 40
21 42

CodePudding user response:

Base values
1 1
2 4
3 and 9
April 16
May 25
6 to 36
7 49
8 64
9 81
10 100
11 121
12 144
13 169
14 196
15 225
16 256
17 289
18 324
19 361
20 400
21 441

CodePudding user response:

reference 4 floor Summer_djz response:

base value1 1
2 4
3 and 9
April 16
May 25
6 to 36
7 49
8 64
9 81
10 100
11 121
12 144
13 169
14 196
15 225
16 256
17 289
18 324
19 361
20 400
21 441

Code oh, eldest brother, not to write directly

CodePudding user response:


 Console. WriteLine (" No \ \ t t square square root \ t natural logarithm: "); 
For (int I=1; I & lt;=100; I++)
{
String text="" + I +" \ t ";
The text +=I * I + "\ t";
Text +=math.h Sqrt (I). ToString (" f2 ") + "\ t";
The text +=Math. The Log (I). ToString (" f2 ");
Console. WriteLine (text);
}

Is this!

CodePudding user response:

refer to 6th floor huakai2418 response:

 Console. WriteLine (" No \ \ t t square square root \ t natural logarithm: "); 
For (int I=1; I & lt;=100; I++)
{
String text="" + I +" \ t ";
The text +=I * I + "\ t";
Text +=math.h Sqrt (I). ToString (" f2 ") + "\ t";
The text +=Math. The Log (I). ToString (" f2 ");
Console. WriteLine (text);
}

Is this

Ok, thank you, thank you very much

CodePudding user response:

refer to 7th floor qq_45718830 response:
Quote: refer to the sixth floor huakai2418 response:

 Console. WriteLine (" No \ \ t t square square root \ t natural logarithm: "); 
For (int I=1; I & lt;=100; I++)
{
String text="" + I +" \ t ";
The text +=I * I + "\ t";
Text +=math.h Sqrt (I). ToString (" f2 ") + "\ t";
The text +=Math. The Log (I). ToString (" f2 ");
Console. WriteLine (text);
}

Is this

Ok, thank you, thank you very much

Able to string text=
The text +=
.
.
Respectively, these four lines output sequence number, square, square root, to explain the natural logarithm of the code? Look not to understand ah, f2 is what things?

CodePudding user response:

Test the sixth floor of the code, the latter two +=is a mathematical formula for the square root, logarithm, f2 is to keep two decimal places

CodePudding user response:

Well, got the answer, can still hideously, taking!!!!!!

CodePudding user response:

Quote: refer to the sixth floor huakai2418 response:


 Console. WriteLine (" No \ \ t t square square root \ t natural logarithm: "); 
For (int I=1; I & lt;=100; I++)
{
String text="" + I +" \ t ";
The text +=I * I + "\ t";
Text +=math.h Sqrt (I). ToString (" f2 ") + "\ t";
The text +=Math. The Log (I). ToString (" f2 ");
Console. WriteLine (text);
}

Is a good idea to draw on the paper, according to the logic in writing

CodePudding user response:

This function can understand Math
  •  Tags:  
  • C#
  • Related