习题3;3.3
来源:互联网 发布:人工智能上市公司排名 编辑:程序博客网 时间:2024/05/16 07:04
#include<stdio.h>
int main()
{
int n=4,capital=350;
float rate=0.0225,deposit;
scanf("%d,%d,%f",&n,&capital,&rate);
deposit=capital+n*rate;
printf("deposit=%f\n",deposit);
return 0;
}
int main()
{
int n=4,capital=350;
float rate=0.0225,deposit;
scanf("%d,%d,%f",&n,&capital,&rate);
deposit=capital+n*rate;
printf("deposit=%f\n",deposit);
return 0;
}
知识点:算术运算符的应用,和屏幕输出。
心得体会:注意符号的应用
阅读全文
0 0
- 习题3 3.3
- 习题3(3.3)
- 习题3;3.3
- 习题3 3.3
- 习题3.3
- 习题3.3
- 习题3.3
- 习题3.3
- 习题3.3
- 习题3.3
- 习题3
- 习题3
- 习题3
- 习题3
- 习题3
- 习题3
- 习题3
- 习题3
- LeetCode 225 Implement Stack using Queues
- 机器学习系列笔记(六)
- 深入分析Java ClassLoader原理
- 安全客2017季刊-第3期
- Android Studio 打包时 Signature Version V1 V2
- 习题3;3.3
- Redis过期键删除策略及源码剖析
- 约瑟夫问题,双向链表实现
- 在 Vue.js 中使用任意 JavaScript 第三方库
- Android WebView 播放视频无法播放问题和视频适应屏幕大小
- 快排之C++
- centos6安装nginx1.7.9+php5.6.4+mysql5.6
- linux expr命令参数及用法详解
- vc中调用其他应用程序的方法(函数) winexec,shellexecute ,createprocess