🔒 Closed C++ pattern

Status
Not open for further replies.

Marco2426

Eternal Poster
Hello po. Pwedi po pahelp ano pong code po nito sa c++?
Yung output na lalabas is
1
2 3
John
4 5 6
7 8 9 10
John

Kapag nagloop po sya ibibilang nya rin yung string sa loop kunware po nag enter ako ng 6 ang magiging output nya ay six line din.
Kasi po yung ginawa ko nag input ako kaso sobra yung loop na ginawa, di nya binibilang yung JOHN.
Sana po matulungan nyo po ako
 
Status
Not open for further replies.

About this Thread

  • 13
    Replies
  • 424
    Views
  • 4
    Participants
Last reply from:
Marco2426

Trending Topics

Online now

Members online
366
Guests online
2,016
Total visitors
2,382

Forum statistics

Threads
2,299,934
Posts
29,133,723
Members
1,201,237
Latest member
chibuki
Back
Top