chencwj

2024年3月9日

C语言之兔子生产问题

摘要: /#include <stdio.h> main() { long fib1 = 1, fib2 = 1, fib;//定义长整型变量,fib1表示当前前一个月的兔子数,fib2表示当前前两个月的兔子数,fib表示当前月份兔子数 int i;//月份变量 printf("%12ld%12ld",fi 阅读全文

posted @ 2024-03-09 16:54 参未闻 阅读(14) 评论(0) 推荐(0) 编辑

导航