Computer content: Writing and running C ++ programs
Objective: To understand the general process of editing, compiling, connecting and running a simple C ++ Program
My program:
/** Copyright and version statement of the program: * copyright (c) 2011, Emy of computer science, Yantai University * All Rights Reserved. * file name: omitted * Author: Liu Yujin * Completion Date: July 15, October 8, 2012 * version number: V1.0 * description of the task and solution section: * input description: no * Problem description: The second C ++ program of "I", familiar with the program editing and running process, announced that "I" entered this field * program output: "This program converts the temperature from the Celsius temperature value (c) to the Fahrenheit temperature value (f)" * Problem Analysis: omitted * Algorithm Design: slightly */# include <iostream> using namespace STD; int main () {double C; double F; cout <"input Celsius temperature:"; CIN> C; F = C * 9/5 + 32; cout <C <"Celsius is" <F <"Fahrenheit. "; return 0 ;}