合集-C++学习

摘要:银行账户管理 用户: int balance = 0; void deposit(int amount) { balance += amount; } void withdraw(int amount) { if (amount <= balance) { balance -= amount; } 阅读全文
posted @ 2024-10-10 10:13 helloworld_0810 阅读(95) 评论(0) 推荐(0)