Untitled

mail@pastecode.io avatar
unknown
java
2 years ago
222 B
1
Indexable
Never
if (accountBalance > 100) {
     txtAnswer.setText("Safe balance");
 } else if (accountBalance < 0){
     txtAnswer.setText("ALERT: Negative balance! ");
 } else {
     txtAnswer.setText("Warning: Low balance. ");
 }