Please help to make a program

I need to write a program that doubles the digits of a given natural number. Example: n=1986, result must be 11998866 How to do it in C++?

6th Oct 2020, 8:18 PM
Rolandas Kymantas
Rolandas Kymantas - avatar
1 Answer
+ 2
First try by yourself. if you stuck then ask it by posting your attempt...
6th Oct 2020, 8:21 PM
Jayakrishna 🇮🇳