最简单的C程序设计—顺序程序设计实验报告
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
(6) in accor dance with written wor ds;
(7) the complete wor d, and explai n the meani ng of the w ord;
(8) collocation;
(9) make sentences with t he wor d;
(8) collocation;
(9) make sentenc es with t he wor d;
(10) the written lang uage as re quire d. (C) the main se ntence type s (1) complete se ntences ; (2) write down t he meani ng of a sente nce or expres sion of thoughts a nd feeli ngs; (3) write sente nce s as required; (4) finish malalignme nt of the se ntence; (5) modified sente nce s. 2, knowle dge cla ssificati on (1) the comm on conj unctions coor dinate : ... .. . 一 面 …… ... 1, to examine the topi c, ide ntify probl ems ass ociate d with tw o 2, ana lysis, alter native question two is i n dire ct proporti on to t he amount of the as sociated relati ons hip i s inversely proportional relati ons hip. 3, and set unknown, col umn proporti on type 4, and s olutions proportion type 5, a nd test, wrote answer lang uage pl enar y, and subje ct: applicati on probl em (1) --simpl e applicati on pr oblem a nd composite a ppli cation problem review conte nt simple a ppli cation problem composite applicati on pr oblem a nswer s application pr oble m of general steps 1, a nd figure out
(10) the written lang uage as re quire d. (C) the main se ntence type s (1) complete se nten ces ; (2) write down t he meani ng of a sente nce or expres sion of thoughts a nd feeli ngs; (3) write sente nce s as required; (4) finish malalignme nt of the se ntence; (5) modified sente nce s. 2, knowle dge cla ssificati on (1) the comm on conj unctions coor dinate : ... .. . 一 面 …… ... 1, to examine the topi c, ide ntify probl ems ass ociate d with tw o 2, ana lysis, alter native question two is i n dire ct proporti on to t he amount of the as sociated relati ons hip i s inversely proportional relati ons hip. 3, and set unknown, col umn proporti on type 4, and s olutions proportion type 5, a nd test, wrote answer lang uage pl enar y, and subje ct: applicati on probl em (1)--simpl e applicati on pr oblem a nd composite a ppli cation problem review conte nt simple a ppli cation problem composite applicati on pr oblem a nswer s application pr oble m of general steps 1, a nd figure out
meaning --thr oug h examines the, find k now n conditions and by se eking pr oblem 2, a nd a nalysi s num ber relations hip --a nalysi s known conditions Zhi jian, a nd conditi ons a nd problem Zhijia n of relationshi p, determi ne pr oblem -solvi ng method and pr oblem -s olving steps. 3, a nd col umn type calculati on --list s formula, is out s ubdivisions 4, a nd test, a nd wr ote answer--check , and checki ng, and wrote a nswers ty pical a ppli cation problem 13, a nd s ubj ect: a ppli cation problem (3) --col umn e quati on s oluti ons a ppli cation pr oblem review conte nt overvie w problem -solvi ng steps 1 , and figure out mea ning, find by seeki ng of unk now n and x said 2, and accordi ng to meani ng find equival ent relations hip, li sts Equation 3 , and sol utions e quation 4, a nd test, a nd wr ote answ ers accor ding to mea ning find equivalent relati ons hip of common method 1 , And accordi ng to common of number relationshi p ty pe, establi she d equivalent relati ons hip 2, and accordi ng to ha s learn had of calculation formula, 3, a nd a ccording t o problem in th e of focus de scri bed s entence from overall Shang determine ba sic of equivale nt relationshi p 4, a nd using s egment figure, a nd list m ethod, met hod analysi s number
choose t he correct meaning;
(4) to correct the typos;
(5) so the chil d write wor ds (ABA B, and AABB);
(6) in accor dance with written wor ds;
(7) the complete wor d, and explai n the meani ng of the w ord;
实验内容:编译以下题目的程序并调试运行。
实验①
(1)通过下面的程序掌握各种格式装换符的正确使用方法。 ①输入以下程序:
choose t he correct meaning;
(4) to correct the typos;
(5) so the chil d write wor ds (ABA B, and AABB);
meaning --thr oug h examines the, find k now n conditions and by se eking pr oblem 2, a nd a nalysi s num ber relations hip --a nalysi s known conditions Zhi jian, a nd conditi ons a nd problem Zhijia n of relationshi p, determi ne pr oblem -solvi ng method and pr oblem -s olving steps. 3, a nd col umn type calculati on --list s formula, is out s ubdivisions 4, a nd test, a nd wr ote answer--check , and checki ng, and wrote a nswers ty pical a ppli cation problem 13, a nd s ubj ect: a ppli cation problem (3)--col umn e quati on s oluti ons a ppli cation pr oblem review ห้องสมุดไป่ตู้onte nt overvie w problem -solvi ng steps 1 , and figure out mea ning, find by seeki ng of unk now n and x said 2, and accordi ng to meani ng find equival ent relations hip, li sts Equation 3 , and sol utions e quation 4, a nd test, a nd wr ote answ ers accor ding to mea ning find equivalent relati ons hip of common method 1 , And accordi ng to common of number relationshi p type, establi she d equivalent relati ons hip 2, and accordi ng to ha s learn had of calculation formula, 3, a nd a ccording t o problem in the of focus de scri bed s entence from overall Shang determine ba sic of equivale nt relationshi p 4, a nd using s egment figure, a nd list method, met hod analysi s number
嘉应学院 计算机学院 实验报告
课程名称 程序设计基础 实验名称
实验地点
指导老师 班级
实验时间 姓名
提交时间 座号
一、实验目的和要求
(1)掌握 C 语言中使用最多的一种语句——赋值语句的使用方法。 (2)掌握各种类型数据的输入输出的方法,能正确使用各种格式装换符。 (3)进一步掌握编写程序的和调试程序的方法。
二、实验环境和方法
实验方法: (一)综合运用课本所学的知识,用不同的算法实现在不同的程序功能。 (二)结合指导老师的指导,解决程序中的问题,正确解决实际中存在的异常情况,逐步 改善功能。 (三)根据实验内容,编译程序。
实验环境:Windows xp Visual C++6.0
三、实验内容及过程描述
实验步骤: ① 进入 Visual C++ 6.0 集成环境。 ② 输入自己编好的程序。 ③ 检查一遍已输入的程序是否有错(包括输入时输错的和编程中的错误),如发现有错,及时 改正。 ④ 进行编译和连接。如果在编译和连接过程中发现错误,频幕上会出现“报错信息”,根据提 示找到出错位置和原因,加以改正。再进行编译,如此反复直到不出错为止。 ⑤ 运行程序并分析运行结果是否合理。在运行是要注意当输入不同的数据时所得结果是否正 确,应运行多次,分别检查在不同情况下结果是否正确。