Print the value of n + nn + nnn (not multiplication) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Print the value of n + nn + nnn (not multiplication)

Give me a little hint.. This is the question: - Given number n (positive integer).Print the value of n+nn+nnn(not multiplication). 1.Input 3 2.Input 17 3.Input 100

20th Feb 2020, 7:03 PM
Григорий Бондарев
Григорий Бондарев - avatar
6 Answers
0
I need an advise..need a hint to know how to write that code...
20th Feb 2020, 7:38 PM
Григорий Бондарев
Григорий Бондарев - avatar
0
This is the question: - Given number n (positive integer).Print the value of n+nn+nnn(not multiplication). 1.Input 3 2.Input 17 3.Input 100
20th Feb 2020, 7:50 PM
Григорий Бондарев
Григорий Бондарев - avatar
0
I dont undersrand too.But something about concat +
20th Feb 2020, 8:03 PM
Григорий Бондарев
Григорий Бондарев - avatar
0
Look..it says that when i put 3,it will output 369. Or when 17=> 173451
20th Feb 2020, 8:09 PM
Григорий Бондарев
Григорий Бондарев - avatar
0
Привет Григорий
7th Jan 2022, 10:28 AM
Давид Абетян
Давид Абетян - avatar
0
Вот спустя 2 года у меня такой же задача.
7th Jan 2022, 10:29 AM
Давид Абетян
Давид Абетян - avatar