作者sjgau (sjgau)
看板C_and_CPP
标题Re: [问题] c语言程式求助
时间Wed Oct 14 11:05:48 2009
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