二进位也可以很有趣
Programming Concept 蔡文能 tsaiwn@.tw 交通大學資訊工程學系 程式 隨便寫 隨便對? 蔡文能 tsaiwn@.tw 交通大學資訊工程學系 印出根號 2 /* 寫個程式印出根號2 */ #includestdio.h double sqrt(double); // #includemath.h int main( ) { printf( sqrt 根號 2 =%f\n , sqrt(2.0) ); // C++ 式的註解 comment printf(Bye bye!\n); return 0; } 印出根號 3 /* 寫個程式印出根號3 */ #includestdio.h double sqrt(double); // #includemath.h int main( ) { printf( sqrt 根號 3 =%f\n , sqrt(3.0) ); // C++ 式的註解 comment printf(Bye bye!\n); return 0; } 印出根號 x /* 寫個程式印出根號 x */ #include stdio.h #includemath.h double y; int main(
原创力文档

文档评论(0)