提交 f5fc3c77 编写于 作者: W wizardforcel

2020-07-10 21:23:20

上级 db77d3d5
......@@ -119,7 +119,7 @@ int main() {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```c
*ptr = 3
......
......@@ -76,7 +76,7 @@ public class Prime {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
33 is not a prime number.
......
......@@ -101,7 +101,7 @@ public class Fibonacci {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Upto 100: 0 + 1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55 + 89 +
......
......@@ -61,7 +61,7 @@ public class ReverseNumber {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Reversed Number: 7654321
......
......@@ -82,7 +82,7 @@ public class SwapNumbers {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
--Before swap--
......
......@@ -65,7 +65,7 @@ public class EvenOdd {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Enter a number: 13
......
......@@ -60,7 +60,7 @@ public class VowelConsonant {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
z is consonant
......
......@@ -67,7 +67,7 @@ public class Largest {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
5.5 is the largest number.
......
......@@ -55,7 +55,7 @@ public class Alphabet {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
A is an alphabet.
......
......@@ -64,7 +64,7 @@ public class SumNatural {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Sum = 1275
......
......@@ -63,7 +63,7 @@ public class Factorial {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Factorial of 30 = 265252859812191058636308480000000
......@@ -96,7 +96,7 @@ public class Factorial {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Factorial of 5 = 120
......
......@@ -56,7 +56,7 @@ public class MultiplicationTable {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
9 * 1 = 9
......
......@@ -101,7 +101,7 @@ public class Fibonacci {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Upto 100: 0 + 1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55 + 89 +
......
......@@ -65,7 +65,7 @@ public class GCD {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
GCD = 9
......@@ -103,7 +103,7 @@ public class GCD {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
GCD = 9
......
......@@ -48,7 +48,7 @@ public class Characters {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
a b c d e f g h i j k l m n o p q r s t u v w x y z
......
......@@ -58,7 +58,7 @@ public class NumberDigits {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Number of digits: 6
......
......@@ -61,7 +61,7 @@ public class Power {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Answer = 81
......@@ -90,7 +90,7 @@ public class Power {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Answer = 0.012345679012345678
......
......@@ -87,7 +87,7 @@ public class Palindrome {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
11221 is not a palindrome.
......
......@@ -76,7 +76,7 @@ public class Prime {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
33 is not a prime number.
......
......@@ -87,7 +87,7 @@ public class Armstrong {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
1634 is an Armstrong number.
......
......@@ -72,7 +72,7 @@ public class DecimalBinary {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Step 1: 19/2, Remainder = 1, Quotient = 9
......
......@@ -77,7 +77,7 @@ public class OctalDecimal {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
116 in octal = 78 in decimal
......
......@@ -103,7 +103,7 @@ public class OctalBinary {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
67 in octal = 110111 in binary
......
......@@ -50,7 +50,7 @@ public class Array {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
[1, 2, 3, 4, 5]
......@@ -77,7 +77,7 @@ public class Array {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
[[1, 2], [3, 4], [5, 6, 7]]
......
......@@ -58,7 +58,7 @@ public class TimeString {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
2017-07-25
......
......@@ -47,7 +47,7 @@ public class Decimal {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
1.346
......
......@@ -75,7 +75,7 @@ public class Concat {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
[1, 2, 3, 4, 5, 6]
......
......@@ -51,7 +51,7 @@ public class CharString {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
aeiou
......@@ -82,7 +82,7 @@ public class StringChar {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
[T, h, i, s, , i, s, , g, r, e, a, t]
......
......@@ -64,7 +64,7 @@ public class Contains {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
7 is not found.
......@@ -99,7 +99,7 @@ public class Contains {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Four is found.
......
......@@ -77,7 +77,7 @@ public class Null {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
str1 is null or empty.
......
......@@ -50,7 +50,7 @@ public class CurrentDateTime {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Current Date and Time is: 2017-08-02 11:29:57.401
......@@ -81,7 +81,7 @@ public class CurrentDateTime {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Current Date is: 20170802
......@@ -111,7 +111,7 @@ public class CurrentDateTime {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Current Date is: Aug 2, 2017 11:44:19 AM
......
......@@ -71,7 +71,7 @@ public class Milliseconds {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
1000000 Milliseconds = 16 minutes and 40 seconds.
......
......@@ -59,7 +59,7 @@ public class ArrayToList {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
[a, b]
......
......@@ -45,7 +45,7 @@ public class CurrDirectory {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Working Directory = C:\Users\Admin\Desktop\currDir
......
......@@ -83,7 +83,7 @@ public class SetArray {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Array: [a, b, c]
......
......@@ -78,7 +78,7 @@ public class FileString {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
This is a
......
......@@ -50,7 +50,7 @@ public class CompareStrings {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Equal
......@@ -86,7 +86,7 @@ public class CompareStrings {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
Not Equal
......@@ -121,7 +121,7 @@ public class CompareStrings {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
true
......
......@@ -66,7 +66,7 @@ public class Numeric {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```java
-1234.15 is a number
......
......@@ -69,7 +69,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
[1, 2, 3, 4, 5, 6]
......
......@@ -46,7 +46,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
aeiou
......@@ -75,7 +75,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
[T, h, i, s, , i, s, , g, r, e, a, t]
......
......@@ -60,7 +60,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
7 is not found.
......@@ -93,7 +93,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Four is found.
......
......@@ -73,7 +73,7 @@ fun isNullOrEmpty(str: String?): Boolean {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
str1 is null or empty.
......
......@@ -65,7 +65,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
1000000 Milliseconds = 16 minutes and 40 seconds.
......
......@@ -39,7 +39,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Working Directory = C:\Users\Admin\Desktop\currDir
......
......@@ -70,7 +70,7 @@ Negative number
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Negative number
......@@ -119,7 +119,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
-9 is larger than -11.
......@@ -193,7 +193,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
max = 5
......
......@@ -51,7 +51,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Array: [a, b, c]
......
......@@ -69,7 +69,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
This is a
......
......@@ -121,7 +121,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
A positive number between 10 and 100 (inclusive)
......@@ -160,7 +160,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Bingo! It's eleven.
......
......@@ -44,7 +44,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Equal
......@@ -71,7 +71,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Not Equal
......@@ -109,7 +109,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
true
......
......@@ -62,7 +62,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
-1234.15 is a number
......
......@@ -100,7 +100,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
sum = 5050
......
......@@ -87,7 +87,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
for (i in 1..5) print(i) = 12345
......@@ -113,7 +113,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Ruby
......@@ -139,7 +139,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Ruby
......@@ -163,7 +163,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
K
......@@ -189,7 +189,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
K
......
......@@ -82,7 +82,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Enter a number: 4
......@@ -130,7 +130,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
i = 1; j = 1
......@@ -162,7 +162,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
i = 1; j = 1
......
......@@ -101,7 +101,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Enter an integer: 4
......@@ -146,7 +146,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
i = 1; j = 1
......
......@@ -106,7 +106,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Printing from callMe() function.
......@@ -141,7 +141,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
result = 15
......@@ -205,7 +205,7 @@ fun main(args: Array<String>) {
fun getName(firstName: String, lastName: String): String = "$firstName $lastName"
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
John Doe
......
......@@ -76,7 +76,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
*
......
......@@ -126,7 +126,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
=====
......
......@@ -145,7 +145,7 @@ tailrec fun fibonacci(n: Int, a: BigInteger, b: BigInteger): BigInteger {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
354224848179261915075
......@@ -177,7 +177,7 @@ tailrec fun factorial(n: Int, run: Int = 1): Long {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Factorial of 5 = 120
......
......@@ -251,7 +251,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
lamp is off.
......
......@@ -90,7 +90,7 @@ class Person(fName: String, personAge: Int) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
First Name = Joe
......@@ -172,7 +172,7 @@ class Person(_firstName: String = "UNKNOWN", _age: Int = 0) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
First Name = Joe
......@@ -284,7 +284,7 @@ class AuthLog: Log {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
From AuthLog -> Bad Password: 10 times
......
......@@ -117,7 +117,7 @@ class Girl {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Maria: actual age = 15
......
......@@ -233,7 +233,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
My fake age is 26.
......@@ -276,7 +276,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
My fake age is 26.
......@@ -314,7 +314,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
My age is 31.
......
......@@ -134,7 +134,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
23
......@@ -175,7 +175,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
From interface A
......
......@@ -110,7 +110,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Using outer object: Outside Nested class.
......
......@@ -75,7 +75,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
u1: name = John, name = 29
......@@ -97,7 +97,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
User(name=John, age=29)
......@@ -135,7 +135,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
u1 hashcode = 71750738
......@@ -164,7 +164,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
name = John
......@@ -186,7 +186,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
John
......
......@@ -133,7 +133,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Eating food.
......@@ -171,7 +171,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
name: Jack, age: 29
......
......@@ -63,7 +63,7 @@ class Point(val x: Int = 0, val y: Int = 10) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
sum = (5, 1)
......
......@@ -46,7 +46,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Current Date and Time is: 2017-08-02 11:29:57.401
......@@ -75,7 +75,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Current Date is: 20170802
......@@ -103,7 +103,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Current Date is: Aug 2, 2017 11:44:19 AM
......
......@@ -160,7 +160,7 @@ fun main(args : Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
-11245
......@@ -181,7 +181,7 @@ fun main(args : Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
100000
......@@ -217,7 +217,7 @@ fun main(args : Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
9999
......@@ -253,7 +253,7 @@ fun main(args : Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
999.5
......@@ -276,7 +276,7 @@ fun main(args : Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
19.5
......@@ -307,7 +307,7 @@ fun main(args : Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
12.2
......@@ -335,7 +335,7 @@ fun main(args : Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
k
......
......@@ -52,7 +52,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
2017-07-25
......
......@@ -64,7 +64,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Enter a number: 10
......
......@@ -78,7 +78,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
--Before swap--
......
......@@ -58,7 +58,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Enter a number: 13
......
......@@ -47,7 +47,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
z is consonant
......
......@@ -81,7 +81,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Talk is cheap. Show me the code. - Linus Torvalds
......@@ -158,7 +158,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
number = 60
......@@ -204,7 +204,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
-a = -1
......@@ -255,7 +255,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
b is larger than a.
......@@ -300,7 +300,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
true
......@@ -334,7 +334,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
numbers array contains 4.
......@@ -372,7 +372,7 @@ fun main(args: Array<String>) {
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
2
......
......@@ -59,7 +59,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
5.5 is the largest number.
......
......@@ -53,7 +53,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
-12.3 is a negative number.
......
......@@ -50,7 +50,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
a is an alphabet.
......@@ -74,7 +74,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
C is an alphabet.
......
......@@ -63,7 +63,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Sum = 1275
......
......@@ -61,7 +61,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Factorial of 30 = 205891132094649000000000000000000000000000000
......@@ -91,7 +91,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Factorial of 5 = 120
......
......@@ -55,7 +55,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
9 * 1 = 9
......
......@@ -97,7 +97,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Upto 100: 0 + 1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55 + 89 +
......
......@@ -62,7 +62,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
GCD = 9
......@@ -96,7 +96,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
GCD = 9
......
......@@ -48,7 +48,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
a b c d e f g h i j k l m n o p q r s t u v w x y z
......
......@@ -51,7 +51,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Answer = 0.012345679012345678
......
......@@ -64,7 +64,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
33 is not a prime number.
......
......@@ -71,7 +71,7 @@ fun convertOctalToDecimal(octal: Int): Int {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
116 in octal = 78 in decimal
......
......@@ -96,7 +96,7 @@ fun convertOctalToBinary(octalNumber: Int): Long {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
67 in octal = 110111 in binary
......
......@@ -52,7 +52,7 @@ fun main(args : Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
1\. println
......@@ -76,7 +76,7 @@ fun main(args : Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
score
......@@ -107,7 +107,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Enter text: Hmm, interesting!
......@@ -154,7 +154,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
Enter a number: -12
......
......@@ -44,7 +44,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
[1, 2, 3, 4, 5]
......@@ -70,7 +70,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
[[1, 2], [3, 4], [5, 6, 7]]
......
......@@ -41,7 +41,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be:
运行该程序时,输出为:
```kt
1.346
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册