1332: 津津的储蓄计划(C语言数组解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a[12]; // 每个月的预算 int i; for(i = 0; i < 12;…… 题解列表 2023年07月08日 0 点赞 2 评论 485 浏览 评分:9.9
津津的储蓄计划 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int money=0,month=1,ys,count=0; for(int i=1;i<13;i…… 题解列表 2023年04月17日 0 点赞 0 评论 144 浏览 评分:0.0
1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 412 浏览 评分:9.9
津津的储蓄计划(简单明了) 摘要:解题思路:输出格式用%d时,不能用(存钱总数*1.2+12月份直接表示,因为它是实数型),要转换类型,才能得到正确结果。注意事项:参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年02月09日 0 点赞 0 评论 735 浏览 评分:9.9
津津的储蓄计划——for循环解题。(有细节) 摘要:解题思路:注意事项:不看会吃亏。(开玩笑的,我是菜鲲,欢迎大佬点评!)参考代码:#include<stdio.h>int main(){ int s=0,j=0,i,k=0; int a[…… 题解列表 2022年12月15日 0 点赞 0 评论 325 浏览 评分:8.0
津津的储蓄计划(一个while解法) 摘要:解题思路:注意事项:参考代码:#includeint main(){ int n,m=0,a=12,x=0;//m表示每个月剩下的钱,n表示每个月的预算花费,x表示给妈妈的钱 while(a--) {…… 题解列表 2022年12月07日 0 点赞 1 评论 180 浏览 评分:0.0
津津的储蓄计划(不懂我吃屎) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int cost, f, mama = 0, flag = 1, money = 0, i = 1;// c…… 题解列表 2022年11月21日 0 点赞 0 评论 442 浏览 评分:8.7