弹丸运动程序:这个程序有什么问题?

时间:2015-10-31 20:08:23

标签: c function

我的以下程序不提供0.00以外的任何值。

我是编码的新手,我正在尝试应用功能。此程序编译并运行,但不提供正确的值。

有任何建设性意见吗?

WindowLeft

2 个答案:

答案 0 :(得分:1)

在main()中,你想要用程序接受的参数调用函数,你有:

$order->has_status( 'processing' )

这些实际上只是重新声明了功能签名。要实际调用要使用正确语法的函数并将输出分配给变量,以便打印它们:

float MaxH(float Vi, float theta);
float ToF(float Vi, float theta);
float range(float Vi, float theta);

答案 1 :(得分:0)

您不会在再次声明该功能的任何地方调用该函数 float MaxH(float Vi, float theta);

函数调用将类似于H = MaxH(Vi, theta);,并且对于其他函数也是如此。

相关问题