看板 C_and_CPP 關於我們 聯絡資訊
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html 最新的 程式語言使用排行 java, c, php, c++, vb, c#, . . . 我所提供的 LISP, 第17名,0.6%, Fortran, 第 26名, 0.38% 大家可以過去看看,。。。 ※ 引述《sjgau (sjgau)》之銘言: : prolog 我沒有學過,底下是 LISP : by AutoLISP 版本,by AutoCAD 2010 : (setq kg (getreal "\n 請輸入體重(公斤): ") : pd (/ kg 0.45359237)) : (princ (strcat "\n 你的體重= " (rtos pd 2 6) "\n")) : (princ) : ※ 引述《sjgau (sjgau)》之銘言: : : Fortran 95 : : program VF0937 : : implicit none : : real*8 kg, pd : : print *, '請輸入體重(公斤): ' : : read(*, *)kg : : pd= kg/0.45359237 : : print *, '你的體重= ', pd, ' 磅' : : end program VF0937 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.245.110.241