3 喜歡 0 不喜歡
13.5k 瀏覽

Please take a look at the uncompleted program in the bottom and fill in the gaps with properly output format to complete the program in order to display the following output:
把還沒完成的程式寫完
Remember: Direct output or cheated output is always forbidden.

#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
    printf("______________ \n", x);
    printf("______________ \n", x);
    printf("______________ \n", x);
    printf("______________ \n", x);
    printf("______________ \n", y);
    printf("______________ \n", y);
    printf("______________ \n", y);
    printf("______________ \n", z);
    printf("______________ \n", z);
    printf("______________ ", z);
    return 0;
}

Required output:

21
 21
15
25%
A
 a
10
77
077
63

 

[練習] Coding (C) - 最新提問 分類:Chapter 3: Formatted Input/Output | 用戶: (12.1k 分)
ID: 26463 - 從幾時開始: 無限制 - 到幾時結束: 無限制

修改於 用戶: | 13.5k 瀏覽

87 個回答

0 喜歡 0 不喜歡
內容已隱藏
#include ** * * ** **
int main()
{/*21
 21
15
25%
A
 a
10
77
077
63*/
* * * * * *** *** * * x = 21, y = 0xa , z = 077;
** * ** * * * * *** ** *** x);
**** ******* * ** ****** ** ** %d\n", x);
*** ** * ** * ** ** *** * **** * * x);
* * * * * ** * ** * **** * * * * * x);
** *** * ** *** ** *** **** **** * y);
** ******* * * *** * * * ** *** %x\n", y);
**** ***** ** *** ** ** **** * * * *** ** * y);
* *** ** ****** * ** * * ***** * z);
* * ** ** * ***** ** **** * * *** * * * z);
** * * ** *** ** * ** ***** *** *** * * z);
** ** ** *** * ** * * * 0;
}
最新回答 用戶: (82 分)
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include <stdio.h>
int main()
{ int x = 21, y = 0xa , z = 077;
* * * * ** * ** * x);
  printf(" %d\n", x);
** * ** ** ****** * * *** ** * ** x/7*5);
* ** * * * * ** * *** * ***** * x*100/84);
** ****** * * ** ** *** * ** * * * * y);
* * ***** ** ********* ** * * * * * * ** %x\n", y);
**** ** * ** * * **** *** * *** * * * * ** * * *** * *** ***** * ** * y);
** *** ** * * *** * * ***** ** ** * * * * *** ** * ** * * * * z);
* * ** **** * * * * * *** * ** * *** * * **** * ** *** * * ** * * z);
*** * * ** **** * * ******** ** * * * ** ** *** ** *** ** *** x*3);
****** * **** * ** * * * ** * * ** * ** ** 0;
** *** ** * ** ***** * * * * ** ** * ** * *** *** * * ***
最新回答 用戶: (-66 分)
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include * * ** **
int main ()
{
* ******** x= 21, y= oxa, z = 077;
  
* *** * * * * ** * * ** x);
***** * * * **** * * %d\n", x);
**** ** ** * * * * * * * * * * x);
* *** * ** * * * * *** * x);
** ** * * * * * * * * ** y);
** ** * ** * * * * ** * * * ** y);
* *** * * * * * * *** y);
** * **** *** * * * ** ** z);
**** * ** * ** * * * z);
* * **** * * * * ** *** ** z);
* *** *** * *** * * 0;
}
最新回答 用戶: (-167 分)
0 0
prog.c: In function 'main':
prog.c:4:17: error: 'oxa' undeclared (first use in this function)
   int x= 21, y= oxa, z = 077;
                 ^~~
prog.c:4:17: note: each undeclared identifier is reported only once for each function it appears in
prog.c:14:15: warning: unknown conversion type character 0xa in format [-Wformat=]
   printf("%.30\n", z);
               ^
prog.c:14:10: warning: too many arguments for format [-Wformat-extra-args]
   printf("%.30\n", z);
          ^~~~~~~~
0 喜歡 0 不喜歡
內容已隱藏
#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
** * * ** * ** ** * ** ** ** * *** x);
** *** ****** ********* * * * * ** * ** x);
**** ** * * ******** * *** ** * \n", x);
**** ** * ****** * * * * *** *** * * * x);
** ** * * * ** * * * ****** ** * y);
*** * * * * ** * * * * *** * **** * * * ** y);
**** * **** * ***** * * * * ** *** y);
* ** *** * *** *** ** * ** * * ** z);
* ** * ****** ****** * * ** ** ** z);
* ** ** * **** *** * ** ** **** ** **** z);
*** *** ** * ** * ** *** *** * 0;
}
最新回答 用戶: (-32 分)
0 0
Case 0: Wrong output
0 喜歡 0 不喜歡
內容已隱藏
#include <stdio.h>
int main()
{
* ** ** * **** *** * * x = 21, y = 0xa , z = 077;
*** * * * *** * * * ****** *** * ** * * x);
** * * * ** ****** ** %d\n", x);
*** * * ********* ** ** *** * * * ** x);
* * * ** ****** ***** ** ** ** *** *** * x);
*** ** * ** * * ** ** * ***** * y);
*** * ** *********** ** * * %x\n", y);
**** * * * ************ **** ** * y);
* * * ** * * ***** * * * ** ** * * z);
* ** * * *** ****** * * * * * z);
** * ** ** *** * * * ** * * * ***** z);
* * **** *** * ***** * * * 0;
}
最新回答 用戶: (64 分)
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include<stdio.h>
int main()
{
** ** **** * * * *** * * * * x = 21, y = 0xa , z = 077;
* ** *** * * * * **** ***** **** ******** x);
* *** * ***** * * ** ** ** * ** x);
*** * ** * ** * * * ** * * * * x);
* * * ** * ** * *** ** * * * * * ***** x);
***** ** *** * * *** * ********** * y);
* * * * * * * ** ** *** * ** * * ** y);
* *** **** *** ** *** *** *** **** * * ** y);
** ** ** ***** * ** **** ** * * * ** ** z);
* ***** * * * ** ** ** * * * * ** **** z);
* **** * * * ** ***** ** * * * * ** *** * * z);
    return 0;

}
最新回答 用戶: (-329 分)
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
**** ** * ** ***** * * ** * ***** x);
* * * **** ** * * * ** * *** * *** ***** * * x);
***** * * ** ** * ** * ** * ** ** * ** * *** x);
* * * **** * *** ** ** * * * * * * ** * x);
* * * * * * * *** * ******* * * * * ** y);
** ** * *** * ** * * * * * **** * * y);
* ** * ** *** * * * * * * * *** *** y);
*** ** * **** * ** ** * ** ** * * * ** **** z);
** *** * * * * * ** **** * **** z);
**** * * **** ** **** ** ** ****** * ** * * z);
* * * *** **** * * * 0;
}
最新回答 用戶: (-32 分)
修改於 用戶:
0 0
Case 0: Wrong output
0 0
Case 0: Correct output
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include<stdio.h>
int main()
{
**** **** *** * * *** * x = 21, y = 0xa , z = 077;
* * ** * * * * * *** *** * ** * *** x);
**** * ***** * *** * ***** **** %d\n", x);
* ** ** *** * * *** ** ** * x);
********* ** * * *** ** *** ** * * * * x);
* * ********** ** * * *** * ** *** ** * *** ** y);
** * * * ** * ****** * *** * %x\n", y);
* *** *** * ***** * * ***** * * * * y);
* * * ** * ** * * **** * ** * z);
* * **** * * ***** ** * *** ** ** * z);
** *** * * * ** * * ** * * * **** ** ** * z);
}
最新回答 用戶: (-214 分)
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
** ** **** ** ** **** ** * * * * *** x);
* ** ***** ** * * * ** * * * * * * ****** * x);
* * ** ** **** ** * ***** * * * * ** x);
* *** * ** *** ** ** * *** *** **** *** x);
*** * * ** **** ** *** * ** ***** y);
******* ** * * * * * ** * * * * ** * * y);
* *** * * * * * ** * * **** *** * y);
* ******* * * *** *** * * * * * ** z);
****** * * * *** ***** ** * *** * * *** z);
** *** * * * * * * *** * * *** * ***** z);
*** ** *** * ** * * 0;
}
最新回答 用戶: (-16 分)
修改於 用戶:
0 0
Case 0: Wrong output
0 0
Case 0: Correct output
0 0
Case 0: Correct output
0 喜歡 0 不喜歡
內容已隱藏
#include<stdio.h>
int main()
{
* ****** **** ** *** *** ** * x = 21, y = 0xa , z = 077;
* *** ** * *** * *** * * * **** ** x);
**** * **** *** * ** * * * * ** ** * ****** x);
* * **** * **** ** * * * * ****** ** x);
** * * * ** * **** * * ***** * * * x);
** ** * ** ****** ** ** * ** * * ** y);
*** ***** * ** * *** * ****** * * *** ** y);
** ** ** *** ** ** * ***** ** **** * y);
** * * * *** *** **** * * ** * ** * z);
* * ** * ** ** * ** *** * * * z);
* *** **** ****** ** *** * ** * * * * * z);
    return 0;


}
最新回答 用戶: (-329 分)
0 0
Case 0: Correct output
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.130.47
©2016-2025

相關問題

1 喜歡 0 不喜歡
75 回答
[練習] Coding (C) - 最新提問 10月 12, 2017 分類:Chapter 3: Formatted Input/Output | 用戶: thopd (12.1k 分)
ID: 26464 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 11.8k 瀏覽
3 喜歡 0 不喜歡
116 回答
[練習] Coding (C) - 最新提問 10月 5, 2017 分類:Chapter 3: Formatted Input/Output | 用戶: thopd (12.1k 分)
ID: 25729 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 16.7k 瀏覽
12,783 問題
183,442 回答
172,219 留言
4,824 用戶