博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
C teaching
阅读量:4550 次
发布时间:2019-06-08

本文共 705 字,大约阅读时间需要 2 分钟。

L1 Preparation

1. environment

codeblocks

2.variable, const

3. data type

int     "%d"char    "%c"    (ASCAII)float   "%f"

4. printf

string: "helloworld"number & expression\n

5. calculation

+-*/

6. sequence, branch and cycle

=if, switchfor, while, do-while

7. example

1) score to grade    90-100:A    70- 89:B    60- 69:C     0- 59:D    2) add 1:n3) easy calculation    1 2 +

8. homework

1) read a list of scores from some file and print relative grades into another file

try your best to complete the request above. If you can't learn file operation anyway, you can just scanf from console

2) realize a calculator      easy:   12 * 8       hard:   127-12

转载于:https://www.cnblogs.com/Christen/p/5985425.html

你可能感兴趣的文章
线程 题待做
查看>>
PL/SQL可以连oracle,但是jdbc连不上 【转】
查看>>
使用 highlight.js 在网页中高亮显示java 代码 【原】
查看>>
Android应用 程序框架设计方法
查看>>
基于Nginx环境下5种http转https的设置方法
查看>>
windows创建服务
查看>>
锋利的JQuery —— JQuery性能优化
查看>>
MIT许可证
查看>>
JQuery发送Ajax请求
查看>>
SQL 中的 case when
查看>>
【DeepLearning】GoogLeNet
查看>>
【手撸一个ORM】第六步、对象表达式解析和Select表达式解析
查看>>
MsDepSvc 启动失败
查看>>
总结十四
查看>>
泛型约束
查看>>
websocket入门
查看>>
AOP技术分析
查看>>
jdk keytools for spring-boot
查看>>
百度前端学习日记03——CSS选择器
查看>>
二维数组和二级指针
查看>>