vc﹢﹢6.0 我是新手碰到了两个小程序 但实在不知道错在哪了求指点

491关注3235浏览

#include <math.h>
#include <stdio.h>

void main()
{
double x, s;
printf("input number:\n");
scanf("%if",&x);
s=sin(x);
printf("sine of %If is %If\n",x, s)

共2条回答
  • Ximena
    7年前

    一个程序里面怎么能有两个main函数呢??? 追问

    0 15

  • 林小姐也是lyn
    7年前

    Z=max(x,y);

    这个Z没有声明。 追问

    0 8

发送