谁能给我一个最最简单的计算机程序并解释整个程序及符号的意思.辛苦各位了!
热心网友
C++的// The program reads ten numbers, add them together and display the total。 #include //头文件main() { //主函数 int num, total;//定义变量 total = 0; // initialize the accumulator。赋值 for (i = 1; I num; // input a number。 total = total + num; // add the number to total } // end of while。 cout << total; // output the result。 } // end of the main function。“//”后为解释。
热心网友
编程语言太太太太多了……最最最简简单单的,国产的号称中文编程 叫 E语言 来的其实delphi 快速啊……
热心网友
是什麽程序語言呀?有很多種呀.不同的語言有不同的格式與關鍵字.你到網上去找一本??砜窗?下面是一段C語言的:main()//主函??{ printf("this is C Language program");//?出語句}功能是在屏幕上?出this is C Language program這些字符.