回答編集履歴
1
誤字修正
answer
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
int x=0;
|
|
11
11
|
|
|
12
|
-
while(!int.TryParse(Console.ReadLine(),out x))
|
|
12
|
+
while(!int.TryParse(Console.ReadLine(),out x)||x<=0)
|
|
13
13
|
Console.WriteLine("Please one more input");
|
|
14
14
|
|
|
15
15
|
Console.WriteLine("Enter a plus number:{0}",x);
|