-
-
Save Modoo-Dev/bc6f9080f3009a6394b4284b57c9fa96 to your computer and use it in GitHub Desktop.
dartPractice-conditions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:io'; | |
void main() { | |
stdout.write('문자를 입력 하세요: '); | |
String exp =stdin.readLineSync()!; | |
if (exp.length > 10) { | |
print('$exp의 길이는 10보다 깁니다.'); | |
} else { | |
print('$exp의 길이는 10보다 짧습니다.'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment