(1)程序功能简介 实现计算器的功能。用户根据程序提示,输入数字,选择要进行的运算,可以进行加、减、乘、除、平方、求模、求方根等运算。 (2)程序设计说明 ① 针对加、减、乘、除、平方、求模、求方根操作,每种操作设计一个函数实现相应功能; ② 设计一个函数,可以对多个实数进行四则混合运算; ③ 设计main()测试函数
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001173s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.089172s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000998s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001161s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000938s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003101s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000881s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003605s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014836s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001060s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 333508 [ RunTime:0.013968s ]