-
```
請輸入一個數值:10
10的因數是:1,2,5,10
```
-
i am a rookie,anybody can tell me how to input a input,
such as:
```c
#include
int main(){
int a;
scanf("%d", &a,);
printf("%d",a);
}
```
i find that there is a solut…
-
Test Body - vmpvdsafxz
-
in one of your blogs you have mentioned about printf() funtion.
I tried that and implemented in Keil MDK.
Could you please help me with scanf() function and share it here?
-
#include
void main()
{
int int_data;
float float_data;
scanf("%d",&int_data);
scanf("%f",&float_data);
printf(" %d, %f\n",int_data,float_data);
}
- scanf() 함수는 포인터가 꼭 필요하다.
-
#include
int main ()
{
int x,y;
char b;
printf("符号:");
scanf("%c",&b);
printf("输入一个数字:");
scanf("%d",&x);
printf("输入另外一个数字");
scanf("%d",&y);
printf("结果为:");
int z;
if (b=='+')
printf(…
-
Hello TA.
I don't know why scanf doesn't work. All header files work well. Furthermore, even at the top of the code, scanf worked well.
I write the code like this picture.
![image](https://user-im…
-
### Contact Details
contact me on here
### What happened?
hello.
found a weird issue with printf, I don't know why this happens, but if I compile my example calculator app, it doesn't print …
-
#include
int climbstairs(int n)
{
if(n
-
* **scanf** - not tested
* **sscanf/vsscanf/fscanf/vfscanf** - Tested (https://github.com/phoenix-rtos/phoenix-rtos-tests/tree/Maska989/testScanf)
* **Coverage of errno in scanf tests** - Not te…