Write a program in c++ , enter two values and print them Together by while loop | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Write a program in c++ , enter two values and print them Together by while loop

for example a=214 b=893 c=214893

31st Oct 2017, 10:08 AM
Parinay Chaudhary
Parinay Chaudhary - avatar
2 Respuestas
+ 1
are you sure you want to use a while loop for that? it would be easier to just save/transfer them to string and then just add them together
31st Oct 2017, 10:38 AM
imouse
imouse - avatar
0
yes I want to use while loop because my teacher said do it with while loop
31st Oct 2017, 10:39 AM
Parinay Chaudhary
Parinay Chaudhary - avatar