English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

ABC + ABC + ABC = BBB, put 0-9 into A,B and C but cannot repeat the number twice??? It must form this formula

2006-10-18 18:37:55 · 3 answers · asked by Echo 0 2 in Arts & Humanities Books & Authors

3 answers

A=1 B=4 C=8

2006-10-18 18:50:44 · answer #1 · answered by Sandie 6 · 0 0

1+4+7:2+5+8;3+6+9= 10:14:18 simplify by 2 = 5:7:9

2006-10-18 19:06:06 · answer #2 · answered by Kay 3 · 0 0

Hmm... mutually as a swap/case shape could look the apparent determination for this, there is something that'll artwork a sprint greater effectual: an if/then good judgment shape. C/C++ has the unique capacity to take a character and take care of it like a numeric fee, particularly it quite is ASCII fee. as an occasion, the letter 'A' has the ASCII fee sixty 5, yet you do not could desire to apply that in the time of your shape. So rather of utilising a swap/case shape, replace it to if and else if statements. i'm going to start up it off for you: if(letter == '0' || letter == 'a million') form = letter; else if(letter >= 'A' && letter <= 'C') form = '2'; else if.... and you will fill interior something. you will discover your software simplified quite plenty utilising this technique, and probable much less complicated to envision and understand. on the tip of the if/else if statements is the place you're able to positioned the output statements. wish this helps.

2016-11-23 18:58:31 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers