0

How to take +7 as single unit in c++

Help

23rd Aug 2019, 6:11 PM
bhanu prakash
2 Réponses
+ 1
try:- cout << showpos; cout << 7; // this will output +7 (you can use +7 here also regardless of showpos).
23rd Aug 2019, 7:51 PM
rodwynnejones
rodwynnejones - avatar