• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
裏表ラバーズ
博客园    首页    新随笔    联系   管理    订阅  订阅
2016年12月27日
利息?hii
摘要: #include void main() { for(;;) { float bj,lx=0,ll,d; printf("输入本金:"); scanf("%f",&bj); printf("输入年利率:"); scanf("%f",&ll); printf("输入借贷天数:"); scanf("%f",&d); if(ll==-1) break; else { lx=bj*ll*d/365; p... 阅读全文
posted @ 2016-12-27 07:59 裏表ラバーズ 阅读(157) 评论(0) 推荐(0)
利息?
摘要: #include void main() { for(;;) { float bj,lx=0,ll,d; printf("输入本金:"); scanf("%f",&bj); printf("输入年利率:"); scanf("%f",&ll); printf("输入借贷天数:"); scanf("%f",&d); if(ll==-1) break; else { lx=bj*ll*d/365; ... 阅读全文
posted @ 2016-12-27 07:57 裏表ラバーズ 阅读(121) 评论(0) 推荐(0)
1-5阶乘
摘要: #include "stdafx.h" int main() { int temp=5; int temp2=1; int temp3; int temp4=0; for(int i=1;i<=5;i++) { temp3 = temp2; temp2 = temp2*(i+1); printf("%d*%d=%d\n",temp3,i+1,temp2); temp4+=temp2; } p... 阅读全文
posted @ 2016-12-27 07:52 裏表ラバーズ 阅读(256) 评论(0) 推荐(0)
12?
摘要: #include #include main() { int i, j, b, a[10]; printf("随机猜想数为:\n"); for(i = 0; i a[j + 1]) { b = a[j]; a[j] = a[j + 1]; a[j + 1] = b; } } } for(i = 0; i #define MAX 10000000 int ans[MAX + ... 阅读全文
posted @ 2016-12-27 07:46 裏表ラバーズ 阅读(354) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3