• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu
+ 1

To print the following pattern:

Pattern: 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 Figure out suitable loop.

using_any_language
2nd Jun 2020, 2:37 PM
Harsh Coder
Harsh Coder - avatar
3 Antwoorden
+ 1
That is not Pascal's triangle
2nd Jun 2020, 2:45 PM
Ambele Newton
Ambele Newton - avatar
+ 1
someone calls it "palindrome pyramid pattern": https://www.faceprep.in/c/palindrome-pyramid-pattern-printing-using-numbers/
2nd Jun 2020, 3:04 PM
Bilbo Baggins
Bilbo Baggins - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Can you give me some advice on what project I can start with today to practice HTML, CSS, and JavaScript?
0 Votes
I've a HTML code question
0 Votes
Appointment Booking website
0 Votes
C++
0 Votes
Offline AI Model with Fast Voice Chat
0 Votes
Building an AI Call Tracking & Routing System — Anyone tried it?
0 Votes
Give me advice
1 Votes
I am asking for your help, I need to optimisate my code.
0 Votes
Does anyone know how to go to another "page" on the same page using the HTML button tag?
1 Votes
Mentors
1 Votes