鱼C论坛

 找回密码
 立即注册
查看: 3801|回复: 7

新手问个问题,求解

[复制链接]
发表于 2013-12-20 22:27:18 | 显示全部楼层
  1. #include<stdio.h>
  2. #include<math.h>

  3. void main()
  4. {
  5.         extern   double sin(double);

  6.         double x,s;
  7.         printf("input number:\n");
  8.         scanf("%lf",&x);
  9.     s=sin(x);
  10.         printf("sin of %lf is %lf",x,s);

  11. }
复制代码
你试试这个
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2013-12-21 14:02:43 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-11-3 15:25

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表