文件名称:lab
介绍说明--下载内容均来自于网络,请自行研究使用
1.编写一个函数把华氏温度转换为摄氏温度,转换公式为..C=(F-32)*5/9。
2.编程计算图形的面积。程序可计算圆形、长方形、正方形的面积,运行时先提示用
户选择图形的类型,然后,对圆形要求用户输入半径值,对长方形要求用户输入长和宽的
值,对正方形要求用户输入边长的值,计算出面积的值后将其显示出来。
3.编写重载函数Maxl可分别求取两个整数,三个整数,两个双精度数,三个双精度,数的最大值.
-1. Write a function to convert Fahrenheit to Celsius, the conversion formula. . C = (F-32)* 5/9. 2. Calculate the area of graphics programming. Program can calculate round, rectangular, square area, run-time prompts the user to select the first type of graph, then the radius of the circle requires the user to input the value of a rectangular length and width requires the user to input the value of the input side of the square requires the user to long value, calculate the value of the area once it is displayed. 3. Write overloaded functions Maxl strike two integers, respectively, three integers, two doubles, three doubles, the maximum number.
2.编程计算图形的面积。程序可计算圆形、长方形、正方形的面积,运行时先提示用
户选择图形的类型,然后,对圆形要求用户输入半径值,对长方形要求用户输入长和宽的
值,对正方形要求用户输入边长的值,计算出面积的值后将其显示出来。
3.编写重载函数Maxl可分别求取两个整数,三个整数,两个双精度数,三个双精度,数的最大值.
-1. Write a function to convert Fahrenheit to Celsius, the conversion formula. . C = (F-32)* 5/9. 2. Calculate the area of graphics programming. Program can calculate round, rectangular, square area, run-time prompts the user to select the first type of graph, then the radius of the circle requires the user to input the value of a rectangular length and width requires the user to input the value of the input side of the square requires the user to long value, calculate the value of the area once it is displayed. 3. Write overloaded functions Maxl strike two integers, respectively, three integers, two doubles, three doubles, the maximum number.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C++实验2.cpp
C++实验3.cpp
lab1.cpp
C++实验3.cpp
lab1.cpp