+ 1

In C++

when I use " cin>>a; cout<<a; " the output will(after I give number 3 for variable a) " 3 3 " the question is, can I "using certain code" let the output like this " 33 "

20th Feb 2017, 9:31 PM
ā€«Ų¹ŁŠŲ³Ł‰ Ų¹ŲØŲÆ Ų§Ł„Ų¹Ų²ŁŠŲ²ā€¬ā€Ž
ā€«Ų¹ŁŠŲ³Ł‰ Ų¹ŲØŲÆ Ų§Ł„Ų¹Ų²ŁŠŲ²ā€¬ā€Ž - avatar
2 Answers
+ 1
Try using: cout << a << a;
20th Feb 2017, 10:05 PM
Fabulator
0
You can use " system("cls") " to clear the console.
20th Feb 2017, 10:12 PM
Moein Ghandehari
Moein Ghandehari - avatar