2 like 0 dislike
202 views
寫一個程式讀入三個整數,計算並輸出他們的連續乘積。

Sample Input:

1 2 3

Sample Output:

6
 

參考書籍:由片語學習C程式設計
[Normal] Coding (C) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21766 - Available when: Unlimited - Due to: Unlimited

edited by | 202 views

2 Answers

0 like 0 dislike
Hidden content!
* * ****** ** * *
** * ** std;



int main()

{
** ** * ** * * * * **** num1, * *** mult;
** *** *** * *** **** ***** ** num1 *** * ** num2 ** ** num3;
* * * * ** * * ** *** = * *
** * * * * *** ** * * ** ** * *** mult;

}
answered by (20.9k points)
0 like 0 dislike
Hidden content!
** * ** *** *** *
* * ** std;



int main()

{
* * * * *** * * ******* *** *** num1, ** mult;
** * ** * *** ******* **** ** num1 * **** num2 *** ** num3;
* *** * ** * ** **** * = ** * ****
* * **** **** * *** ** ** * mult;

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

Related questions

2 like 0 dislike
0 answers
[Normal] Coding (C) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21777 - Available when: Unlimited - Due to: Unlimited
| 138 views
2 like 0 dislike
0 answers
[Normal] Coding (C) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21776 - Available when: 1899-12-31 00:00:00 - Due to: Unlimited
| 149 views
2 like 0 dislike
0 answers
[Normal] Coding (C) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21775 - Available when: Unlimited - Due to: Unlimited
| 157 views
2 like 0 dislike
0 answers
[Normal] Coding (C) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21774 - Available when: Unlimited - Due to: Unlimited
| 199 views
2 like 0 dislike
0 answers
[Normal] Coding (C) - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21773 - Available when: Unlimited - Due to: Unlimited
| 176 views
15,029 questions
243,019 answers
215,948 comments
5,696 users