🔒 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
  • 428
    Views
  • 4
    Participants
Last reply from:
Marco2426

Trending Topics

Online now

Members online
803
Guests online
1,840
Total visitors
2,643

Forum statistics

Threads
2,319,381
Posts
29,200,227
Members
1,180,336
Latest member
lioos
Back
Top