0

Как сменить переменую а на переменую b и вывести их сумму?

9th Sep 2017, 12:34 PM
MatNale
MatNale - avatar
12 Réponses
0
No
9th Sep 2017, 1:14 PM
MatNale
MatNale - avatar
0
??
9th Sep 2017, 1:14 PM
MatNale
MatNale - avatar
0
Int a,b,sum=0 Just use sum=a+b; to add You can use a third variable to change variable a and b Int c; c=b; b=a; a=c; Hope you arrange this There is another way too using two variables
9th Sep 2017, 1:30 PM
Ravi Kumar
Ravi Kumar - avatar
- 1
Can you translate this to English?
9th Sep 2017, 1:14 PM
Timon Paßlick
- 1
why
9th Sep 2017, 1:14 PM
Timon Paßlick
- 1
how should i help you
9th Sep 2017, 1:14 PM
Timon Paßlick
- 1
english is the forum language
9th Sep 2017, 1:15 PM
Timon Paßlick
- 1
how can we answer your question if its russian
9th Sep 2017, 1:15 PM
Timon Paßlick
- 1
i also don't write german questions in here
9th Sep 2017, 1:16 PM
Timon Paßlick
- 1
i don't want to challenge you
9th Sep 2017, 1:18 PM
Timon Paßlick
- 1
i want to know why you dont use the official language
9th Sep 2017, 1:18 PM
Timon Paßlick
- 1
where's the point
9th Sep 2017, 1:18 PM
Timon Paßlick