short Value; <--이것을
long Value; <--으로..바꾸심 되겟는데요 ..
K- 님이 쓰신 글 :
: #include <stdio.h>
: #include <conio.h>
: void main()
: {
: clrscr();
: long Computer_486;
: short Su;
: short Value;
:
: Computer_486=370000;
: Su = 10;
: Value = Computer_486 * Su;
: clrscr();
: printf("%ld원 하는 486컴퓨터",Computer_486);
: printf("%d대는 %ld원이다\n",Su,Value);
:
: }
: 했는데 컴파일은 되는데 %ld값이 막나와서 어떻게해야될지모르겠어요
|