c primerplus中文第六版第二章编程练习1

上传人:aa****6 文档编号:38288445 上传时间:2018-04-29 格式:PDF 页数:2 大小:46KB
返回 下载 相关 举报
c  primerplus中文第六版第二章编程练习1_第1页
第1页 / 共2页
c  primerplus中文第六版第二章编程练习1_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《c primerplus中文第六版第二章编程练习1》由会员分享,可在线阅读,更多相关《c primerplus中文第六版第二章编程练习1(2页珍藏版)》请在金锄头文库上搜索。

/ practice.cpp : 定义控制台应用程序的入口点。 /#include “stdafx.h“ #include /double change_tem(double x); void display(int x,int y); int main() using namespace std; /* 1 cout distance; cout Celsius; Fahrenheit = change_tem(Celsius); cout hours; cout minutes; cout endl; display(hours,minutes); cin.get(); cin.get(); return 0;/*5 double change_tem(double x) double y; y = 1.8 * x + 32.0; return y; */7 void display(int x,int y) using namespace std; cout “Time: “ x “:“ y endl; return;

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号