段階1修正
This commit is contained in:
@@ -28,14 +28,25 @@ public class StringCheck {
|
|||||||
|
|
||||||
System.out.println(140 - str.length());
|
System.out.println(140 - str.length());
|
||||||
|
|
||||||
|
//一日目
|
||||||
|
|
||||||
for (String a : comment ) {
|
for (String a : comment ) {
|
||||||
System.out.println(a);
|
System.out.println(a);
|
||||||
|
}
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
System.out.println(140 - str.length());
|
|
||||||
|
int strLength = str.length();
|
||||||
|
System.out.println(strLength + "文字");
|
||||||
|
|
||||||
|
boolean isRange = strLength > 140;
|
||||||
|
System.out.println(isRange);
|
||||||
|
|
||||||
|
System.out.println(140 - str.length());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user