- 2

Hi guys how do I do C++ program??

***** * * *****

31st Jul 2017, 6:08 PM
يونس عادل
يونس عادل - avatar
7 Antworten
+ 2
do cout<<"*****"<<endl; cout<<"*"<<setw(3)<<"*"<<endl; cout<<"*****"<<endl; this might be solution😜
31st Jul 2017, 6:18 PM
Parvish gajjar
Parvish gajjar - avatar
+ 2
@clement setw(3) will leave space in b/w the astrik setw means setting width(3->leaves 3 space)
1st Aug 2017, 4:33 AM
Parvish gajjar
Parvish gajjar - avatar
0
Directly go to c++ tutorial in app and start learning
31st Jul 2017, 6:11 PM
Parvish gajjar
Parvish gajjar - avatar
0
I went output this ***** * * *****
31st Jul 2017, 6:13 PM
يونس عادل
يونس عادل - avatar
0
using for places
31st Jul 2017, 6:19 PM
يونس عادل
يونس عادل - avatar
0
@Parvish Why setw(3) and not " " ?
31st Jul 2017, 8:11 PM
clement
clement - avatar
- 2
معك خبره تعلمنا ولافهمت شي
3rd Aug 2017, 4:36 PM
مہحہمہد عہيہسہى آل دمہآر
مہحہمہد عہيہسہى آل دمہآر - avatar