C语言程序帮看一下错误是怎么改的error C2660: 'change' : function does not take 1 parameters #include

日期:2021-07-26 22:09:29 人气:1

C语言程序帮看一下错误是怎么改的error C2660: 'change' : function does not take 1 parameters #include

同学,我想说你的程序简直就是乱七八糟。实参一个,形参咋就有两个呢。你的change函数是浮点型,而int是整形。最后的return0是返回到哪里呢。同学你要浩浩看看C语言这本书,你的程序很多错误。
#include "stdio.h"
float change(int F)
{
float C;
C=5*(F-32)/9;
return C;
}
int main()
{
    A+
热门评论