0 like 0 dislike
2.3k views
[Exercise] Coding (C) - asked in 作業 by (18k points)
ID: 13528 - Available when: Unlimited - Due to: Unlimited
| 2.3k views
0 0
Called for Help

23 Answers

0 like 0 dislike
Hidden content!
#include <stdio.h>

#include <stdlib.h>

int main()

{

    int num , fre , amp , i , j , k ;

    
** *** * *** * * * **** * ***** ** ****

    for( ; num > 0 ; num--)

    {
** * * * * * * * * * ** ***** ** *** * * * ***** * ** ****** *** ** *
* * ** ** ** ** * ******** ** ** **** ** *** * * ***** * * *** * * *
******* *** * * *** * *** * ** **** ****** * **
* * * * * ** * ** *** *** ** * * * * ** * * ** k = fre ; k > 0 ; k--)
* * * * * *** ** * *** *** *** * * *** ** *
*** ** *** * ***** * ** ** * ***** ** * * * **** * *** * * **** *** * * * * i = 1 ; i <= amp ; i++)
** **** ** ** * *** ** * * * *** *** * ** * * ** * * ** ** * * ** **
*** * ******* *** *** * ** *** * * * * ***** * ** *** * *** *** * ** * * **** * * ** ** * ** ********** j = i ; j > 0 ; j--)
* ** * *** ** * **** ****** * * * ** ** **** ** ** * **** ** * * ** ** *** * * *** ** ** ** *** ** ** ** * * ** * * ** ** * ** * * * *** ***
* *** * * *** * * * * ***** * * * ** * *** ** ******* * * * ****** * ** * ****** * ** *** ****** * **** ** * * ** ** *
*** * * ********* * * * * ** * *********** ** * * *** **** * *** * *
* **** *** * ** **** ** * ** * * ** ** *** **
* ***** * ** * *** ** ** **** **** ** ** * *** * ** **** * ****** * ** * ** i = amp - 1 ; i > 0 ; i--)
* * **** * * * * ** ** * *** *** * * * ** * **** * ** *
* * * * * * * *** *** * ** ** ** * * * * * ** * * * * * **** *** ** **** *** * * ** ** * *** j = i ; j > 0 ; j--)
* ** * * * * ** * * * ***** * ***** * * ******** * ** ** * **** * * * * * *** * * ** * ** * * * * * **** * * *** * *
* *** ** * ** *** ** * *** **** * * *** **** ** **** * * * * ** * ** * * * ***** ******* ** * ** ** *** ** ****** * * *
** ** * ** ** * * ** *** * * *** * *** ** ** ** ****** * * *** * *
* ** *** ** * * * * ** ** * ******* ** * * * *** * *** * * ** *** * * ** * *** ** * *** ***
* ***** * ** ****** * *** *** *** * * ** *** ** * ** *

    }

    

    system("pause");

    return 0;

}
answered by (-162 points)
0 like 0 dislike
Hidden content!
#include * ** ** *

#include **** * ***



int main(int argc, char *argv[]){

int a,b,c,i,j,k;
* ***** ** *** * * * ** * **

while(a--){
* **** ** ** ** * * ** ******* ** ,&c);

  
* ** ** ** = 1; i <= c ; i++){
***** * * * *** * ** * * * = 1; j <= b;j++){
** * * * ** ** * * ** ** ** ** * * * = 1; k <= j ; k++)
*** ** ***** * *** * ** * * ** *** * ** *** *** ** * * ** * ***** * * *** * **
** ******** * * * * ** * * ** ** * * * ** * **** ****
** * * * * * * * * ***
** * * * * ****** = b-1; j >= 1;j--){
* *** *** * * * * ** * * ** * **** ** * = 1; k <= j ; k++)
** ****** * ** *** * * * * * **** ** * * * ** **** ** * ***** **
* * ** * * ** * * * **** ** * * ** * **** *** * * ****
* * * * * *** * * *
* * * ******* * ***** *** != c)
**** ****** * ** * ** * ** * * * * *** ******** * *** * * * **
**** ** * * *

}   
* * * * * 0;

}
answered by (-216 points)
0 like 0 dislike
Hidden content!
#include <stdio.h>

#include <stdlib.h>

int main()

{

    int num , fre , amp , i , j , k ;

    
* ** * * * * ** ** * * ** * * ***** * *** * ** *

    for( ; num > 0 ; num--)

    {
* * ****** ** *** ** * ** * * * * **** * ** * * *** ** * *** ** * * *
* * ** ** ** *** * ***** ***** ** * * * * ** ** *** * * * * ** * **
* ** **** ** ** * * ** * * * * ** * ** *
** * * * * *** ** *** * * * * ** *** *** ** ** * k = fre ; k > 0 ; k--)
** **** * * * * ** *** ** ** ** ****** *** **
* * * ** * ** ** *** * * **** ** ** ** **** * * * ** **** * * * * i = 1 ; i <= amp ; i++)
* *** * ** * * ** * * ***** ********* * * ***** * ** ******* * * * *** ** ***
**** * * ** **** * ** *** * ** * * * * * * *** * *** * * * * *** ** * * *** ** * j = i ; j > 0 ; j--)
*** * * * * ** ** * ** * **** * ** *** * * ** ** * * ***** ** ** * *** * * ** ** **** *** * ** * * **** ** * ** * * * * ** ** * *
* **** ** ** ** *** * * ** * ** ***** *** **** * **** * * *** * * * ** ****** * * * ** ****
* ** * ******* ****** * ********** *** * * * * * ** * * * *****
* * ** **** * ** * * * *** * *** ***** *** * *
* ** * **** * *** ** ** * * **** ** ** * * * * ** * ** ** * * * i = amp - 1 ; i > 0 ; i--)
* *** * * * **** ** * * * * ** ** * * **** * * ******* ** * * ** **
** ** ** * ***** **** * * *** *** * * ** ***** * ** ***** ** * * ** **** * * *** ** *** * ** * j = i ; j > 0 ; j--)
* * * ** * * ** * ** *** ** ** *** *** * * *** ** ** * ** **** *** * ** ** *** ** * * ***** ** * ** * *** *** * * * ** ** * * * * *** *** ** * *** *
** **** * *** *** * *** * * * * * * * ***** *** ** ** ** * ******* ** * * * * * ** * * * * *** ** ***
* * * **** ** * * **** * ** **** * * *** * * * ********* * * ** * ** * **** **
* * ********** * ***** * *** *** * * * * ** **** ** * * * ** ** **** * **** * * *** **
* * *** *** ** ** *** * ** * * ** * * ***

    }

    

    system("pause");

    return 0;

}
answered by (-162 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.17.200
©2016-2025

Related questions

0 like 0 dislike
45 answers
[Exercise] Coding (C) - asked Oct 13, 2016 in 作業 by Shun-Po (18k points)
ID: 13501 - Available when: Unlimited - Due to: Unlimited
| 3.9k views
0 like 0 dislike
67 answers
[Exercise] Coding (C) - asked Oct 13, 2016 in 作業 by Shun-Po (18k points)
ID: 13427 - Available when: Unlimited - Due to: Unlimited
| 4.8k views
0 like 0 dislike
54 answers
[Exercise] Coding (C) - asked Oct 20, 2016 in 作業 by Shun-Po (18k points)
ID: 14583 - Available when: Unlimited - Due to: Unlimited
| 4.3k views
0 like 0 dislike
60 answers
[Exercise] Coding (C) - asked Oct 13, 2016 in 2016-1 程式設計(一)AD by Shun-Po (18k points)
ID: 13428 - Available when: Unlimited - Due to: Unlimited
| 4.5k views
0 like 0 dislike
31 answers
[Exercise] Essay (Open question) - asked Nov 3, 2016 in 作業 by Shun-Po (18k points)
ID: 16958 - Available when: Unlimited - Due to: Unlimited
| 2.8k views
12,783 questions
183,442 answers
172,219 comments
4,824 users