Untitled
unknown
java
3 years ago
222 B
2
Indexable
if (accountBalance > 100) { txtAnswer.setText("Safe balance"); } else if (accountBalance < 0){ txtAnswer.setText("ALERT: Negative balance! "); } else { txtAnswer.setText("Warning: Low balance. "); }
Editor is loading...