✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
入力した数値を足し合わせて23ができるかを判断するプログラムを作成しなさい.ただし,以下の条件を満たすこと
数値を入力してください(入力終了は0)
---入力---
1
2
3
4
5
6
7
23
0
---出力---
1+2+3+4+6+7=23
1+4+5+6+7=23
2+3+5+6+7=23
23=23
実行例2数値を入力してください(入力終了は0)
---入力---
9
2
0
---出力---
Impossible
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!