誰能給我一個最最簡單的計算機程序并解釋整個程序及符號的意思.辛苦各位了!

熱心網友

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這些字符.