printf("sine of %lf is %lf\n",x,s);中的sine of %lf is 初学看不懂!
来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/07/17 08:59:55
printf("sine of %lf is %lf\n",x,s);中的sine of %lf is 初学看不懂!
第一个出现%lf的地方用 x的值取代
第二个出现%lf的地方用 s的值取代
%lf 表示是double类型的值
%d 是int型
%s 是字符串
%c 是字符
等等
再问: sine of is 这几个在其中起到什么作用? 有什么用?
再答: 就是显示出来起提示作用的,你放代码中运行下就知道怎么回事了 比如 x是3.0 s是5.0,那么显示出来的就是 sine of 3.0 is 5.0(回车)
第二个出现%lf的地方用 s的值取代
%lf 表示是double类型的值
%d 是int型
%s 是字符串
%c 是字符
等等
再问: sine of is 这几个在其中起到什么作用? 有什么用?
再答: 就是显示出来起提示作用的,你放代码中运行下就知道怎么回事了 比如 x是3.0 s是5.0,那么显示出来的就是 sine of 3.0 is 5.0(回车)
printf("sine of %lf is %lf\n",x,s);中的sine of %lf is 初学看不懂!
printf("sine of %lf is %lf\n",x,
sine of %lf is %lf\n",
printf("'e' raised to the power \of %lf (e ^ %lf) = %lf\n",x
%.lf%%,
lf there is no cure
Children's Day is on the first lf June.对on the first lf June
lf half of a number is 30,then three-quarters of that number
lf half of a number is 30,then three-quarters of it is____.A
lf l know what love is it is because of you
英语翻译lf l know what love isit is because of you翻译
lf you have any difficulty,he is one of the few persons who