标题:字符求解答~!
取消只看楼主
凸学者
Rank: 1
等 级:新手上路
帖 子:20
专家分:8
注 册:2013-8-24
结帖率:100%
已结贴  问题点数:10 回复次数:1 
字符求解答~!
#include<math.h>
#include<stdio.h>
main()
{
  double x,s;
  printf("input number:\n");
  scanf("%lf",&x);
  s=sin(x);
  printf("sine of %lf is %lf\n",x,s);
 }
我的理解(那说的不对请帮我改正!带问号的是不知道的!)
这个double指定了2个数x,s 。
 scanf("%lf",&x); 这个%lf是什么意思?&=and?%lf具体指的是什么?
 sin正弦值我知道,这个是怎么算的?
 printf("sine of %lf is %lf\n",x,s);  sine of(正弦值?)
请详细解答!                凸凸凸。。。。
搜索更多相关主题的帖子: include double number 
2013-09-03 18:41
凸学者
Rank: 1
等 级:新手上路
帖 子:20
专家分:8
注 册:2013-8-24
得分:0 
好吧,谢谢,基本明白了,

初学c语言 求指教
2013-09-03 20:55



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-420045-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.663490 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved