어떤 이유로 인쇄본과 scanf가 명백하게 표시되지 않습니다. 나는 그것이 내가 잘 이해하지 못하는 내 기능들과 관련이 있다고 생각한다.간단한 계산 프로그램 문제
#include<stdlib.h>
#include<stdlib.h>
#include<ctype.h>
void testCount();
int eleven = 11;
int input = 0;
int output = 0;
int count = 0;
int main(){
printf("What number would you like to count to?");
scanf("%d", &count);
testCount();
system("pause");
return 0;
}
void testCount (int x){
int y;
for(y=1;y<count;y++){
if (x < 10){
x + 1;
}
}
output = input/eleven;
}
이 무효 testCount (INT)'에 변화가 testCount'는 다른'의 프로토 타입과 기능 서명,'또한, 잊지는에'count'을 통과 'testCount(); ' –
가장 이상한 프로그램 !!! – AhmadWabbi