<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4851956796326782150</id><updated>2026-09-13T00:00:00.226+05:30</updated><category term="CCode"/><category term="Article"/><category term="C_Q&amp;A"/><category term="C++MiniProject"/><category term="PatternProgramsInC"/><category term="C++Code"/><category term="Embedded Tutorial"/><category term="Automation"/><category term="TinkerCAD"/><category term="AI"/><category term="ComputerBasics"/><category term="Tutorial"/><category term="Robotics"/><category term="arduino"/><category term="8051Microcontroller"/><title type='text'>8051 microcontroller tutorial</title><subtitle type='html'>This blog shows you how to write embedded C programs to 8051 family microcontrollers using KEIL compiler. It also discusses C and C++ projects, trending Arduino Board, Automation, AI &amp;amp; Robotics.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>602</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-6965197439386168660</id><published>2026-09-13T00:00:00.000+05:30</published><updated>2026-09-13T00:00:00.221+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051Microcontroller"/><title type='text'>AVR Microcontrollers &amp; its Features | 8051 Microcontroller</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkn_i5Tg3gB8faZS_xFZrFc7LF8YbWHgsb0YGZRHvQ_S4zCpmxU95l60c4q1atpf1mfD7GkmgGQ34qnZOkNFk-Z7uLUNryl4Wl__cnyNIdhyneSycel-IS3gYEy0pVgyATlrJCjKkbhT9fRtJSTc7gg93QV4qmtgIrrroJiIPUaHfgIa9wxCF8CjFGX35/s736/AVR-microcontroller-block-diagram.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;avr-microcontrollers-block-diagram&quot; border=&quot;0&quot; data-original-height=&quot;457&quot; data-original-width=&quot;736&quot; height=&quot;249&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkn_i5Tg3gB8faZS_xFZrFc7LF8YbWHgsb0YGZRHvQ_S4zCpmxU95l60c4q1atpf1mfD7GkmgGQ34qnZOkNFk-Z7uLUNryl4Wl__cnyNIdhyneSycel-IS3gYEy0pVgyATlrJCjKkbhT9fRtJSTc7gg93QV4qmtgIrrroJiIPUaHfgIa9wxCF8CjFGX35/w400-h249/AVR-microcontroller-block-diagram.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;p style=&quot;text-align: justify;&quot;&gt;Developed by Atmel in 1997, the &lt;strong&gt;AVR microcontroller&lt;/strong&gt; represents a major milestone in modern embedded systems. Originally conceived by Alf-Egil Bogen and Vegard Wollan—two students at the Norwegian Institute of Technology (NTH) whose names are immortalized in the &quot;AVR&quot; acronym—the architecture was acquired and refined by Atmel to provide high-speed, efficient processing for embedded applications. Today, these chips are widely used for high-speed signal processing operations inside embedded systems.&lt;/p&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;Core Architecture: RISC and Harvard Principles&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The AVR is an &lt;strong&gt;8-bit single-chip microcontroller&lt;/strong&gt; characterized by its high-speed performance and simplified structure. At its core, the AVR architecture leverages two key design philosophies:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Harvard Architecture:&lt;/strong&gt; By maintaining separate memory spaces and buses for program instructions and data, the AVR can execute instructions with exceptional efficiency.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enhanced RISC (Reduced Instruction Set Computer):&lt;/strong&gt; Rather than simply minimizing instructions, AVR&#39;s RISC architecture streamlines and rationalizes the computer structure to maximize computing speeds.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;8-bit CPU Processing:&lt;/strong&gt; With the exception of the 32-bit AVR32, AVR microcontrollers are 8-bit devices. This means the CPU works on 8 bits of data at a time; any data larger than 8 bits must be divided into 8-bit segments for processing.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;Integrated Memory Layout&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;AVR microcontrollers integrate three distinct types of on-chip memory to facilitate rapid data handling and robust program execution:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Program ROM (Flash Memory):&lt;/strong&gt; The AVR was one of the first microcontrollers to implement on-chip Flash memory for program storage. This memory is ideal for rapid prototyping because it can be erased in seconds, unlike older UV-EPROM units which took 20 minutes or more. While the architecture supports a maximum program ROM space of up to 8 Megabytes (MB), individual chips typically feature program ROM ranging from 1 KB to 256 KB.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Data RAM (SRAM):&lt;/strong&gt; The AVR supports a maximum of 64 KB of data RAM, which comprises three components: &lt;strong&gt;32 general-purpose registers&lt;/strong&gt;, I/O memory, and internal SRAM used as a read/write scratchpad.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;EEPROM:&lt;/strong&gt; A small, dedicated block of EEPROM is included to safely store critical, non-volatile data that does not require frequent modification.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;Classification and the AVR Family Tree&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;To accommodate varying system requirements, AVR microcontrollers are broadly organized into four distinct families:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Classic AVR (AT90SXXXX):&lt;/strong&gt; This represents the original AVR line, which has now been replaced by modern, high-performance variants.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mega AVR (ATmegaxxxx):&lt;/strong&gt; Designed for high-performance applications, these robust processors feature a rich instruction set of over 120 instructions. They offer program memory capacities from 4 KB to 256 KB and packages ranging from 28 to 100 pins. The &lt;strong&gt;ATmega32&lt;/strong&gt; is particularly popular in educational settings due to its availability in Dual In-line Packages (DIP).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tiny AVR (ATtinyxxxx):&lt;/strong&gt; Optimized for low cost and minimal power consumption, Tiny AVRs feature smaller pin packages (8 to 28 pins), a limited peripheral selection, and a restricted instruction set (some models, for instance, lack a dedicated multiply instruction). Their program memory ranges from 1 KB to 8 KB.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Special Purpose AVR:&lt;/strong&gt; This group serves specialized applications by integrating advanced hardware controllers directly onto the silicon, such as CAN, USB, LCD, Zigbee, Ethernet, FPGA, or advanced PWM controllers.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;Standard Peripherals and I/O Versatility&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;AVR microcontrollers are highly integrated and come equipped with an array of standard and advanced peripheral interfaces:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Input/Output (I/O) Pins:&lt;/strong&gt; Depending on the physical package size (which ranges from 8 to 100 pins), an AVR can offer anywhere from &lt;strong&gt;3 to 86 I/O pins&lt;/strong&gt;. For example, the 8-pin AT90S2323 provides 3 I/O pins, while the 100-pin ATmega1280 supports up to 86.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;On-Chip Peripherals:&lt;/strong&gt; Standard configurations include up to 6 timers (plus a watchdog timer), a 10-bit Analog-to-Digital Converter (ADC) supporting up to 16 channels, and a USART for interfacing with serial interfaces (such as an x86 PC&#39;s COM port). Most models also support standard communication buses like SPI, I2C (also known as TWI), CAN, and USB.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;Deciphering the Naming Scheme&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Atmel uses a highly logical product numbering system that makes it easy to identify a chip&#39;s capacity:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Every part number starts with &lt;strong&gt;&quot;AT&quot;&lt;/strong&gt; (standing for Atmel).&lt;/li&gt;
&lt;li&gt;To determine the ROM size, locate the largest power of 2 at the end of the product number (reading from left to right). For example, the &lt;strong&gt;ATmega1280&lt;/strong&gt; features 128 KB of ROM, and the &lt;strong&gt;ATtiny44&lt;/strong&gt; features 4 KB. (Exceptions like the AT90PWM216, which has 16 KB of ROM instead of 2 KB, are rare).&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;The Software Compatibility Trade-Off&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;One notable drawback of the AVR architecture is that &lt;strong&gt;different families are not 100% software-compatible&lt;/strong&gt;. If an engineer wishes to run code originally written for an ATtiny25 on a larger ATmega64, the program must be recompiled, and specific register locations may need to be adjusted before flashing the program.&lt;/p&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;
&lt;p style=&quot;text-align: justify;&quot;&gt;By combining high-speed RISC processing, a clean Harvard architecture, and highly integrated on-chip peripherals, the AVR family has earned its place as a cornerstone of modern embedded system design. From ultra-low-power Tiny chips to highly complex Mega and Special Purpose microcontrollers, the AVR family offers a scalable, efficient solution for virtually any digital control challenge.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/6965197439386168660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/avr-microcontrollers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6965197439386168660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6965197439386168660'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/avr-microcontrollers.html' title='AVR Microcontrollers &amp; its Features | 8051 Microcontroller'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkn_i5Tg3gB8faZS_xFZrFc7LF8YbWHgsb0YGZRHvQ_S4zCpmxU95l60c4q1atpf1mfD7GkmgGQ34qnZOkNFk-Z7uLUNryl4Wl__cnyNIdhyneSycel-IS3gYEy0pVgyATlrJCjKkbhT9fRtJSTc7gg93QV4qmtgIrrroJiIPUaHfgIa9wxCF8CjFGX35/s72-w400-h249-c/AVR-microcontroller-block-diagram.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-8051274818486866548</id><published>2026-09-12T00:00:00.000+05:30</published><updated>2026-09-12T00:00:00.121+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Alternating Alphabet Patterns in C | Conditional Patterns</title><content type='html'>&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_a39723b28cd8024e-370&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Combining character manipulation with row-level conditional checks allows you to build dynamic, formatted text arrangements in C&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;. Continuing our &lt;i data-index-in-node=&quot;17&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Pattern Programming in C&lt;/i&gt; series, today’s article focuses on the &lt;b data-index-in-node=&quot;81&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Alternating Alphabet Triangle&lt;/b&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;. This tutorial demonstrates how to use nested loops and parity logic to switch character cases or sequence types across alternating rows&lt;/span&gt;&lt;span data-path-to-node=&quot;1,5&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,6&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_a39723b28cd8024e-371&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Pattern Title:&lt;/b&gt; Alternating Case Alphabet Triangle Pattern in C&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_a39723b28cd8024e-372&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Purpose:&lt;/b&gt; Strengthen your understanding of nested loops, ASCII character arithmetic, and row-index parity logic&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; id=&quot;p-rc_a39723b28cd8024e-373&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Prerequisites:&lt;/b&gt; Knowledge of basic &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;45&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;scanf&lt;/code&gt;, standard character types (&lt;code data-index-in-node=&quot;86&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;char&lt;/code&gt;), and &lt;code data-index-in-node=&quot;97&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;if-else&lt;/code&gt; control flow&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Final Output&lt;/h3&gt;&lt;p data-path-to-node=&quot;7&quot; id=&quot;p-rc_a39723b28cd8024e-374&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;7,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;For an input of &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;rows = 5&lt;/code&gt;, the program generates&lt;/span&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;7,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-70 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-70 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;313&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_fa7009707f4de3b8&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_a39723b28cd8024e&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-70&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-70&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-70 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-70 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;A&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-70&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-70&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;b c 
D E F 
g h i j 
K L M N O 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;10,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;10,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Problem Statement&lt;/h3&gt;&lt;p data-path-to-node=&quot;12&quot; id=&quot;p-rc_a39723b28cd8024e-375&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;12,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Write a C program that accepts an integer &lt;code data-index-in-node=&quot;42&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;n&lt;/code&gt; for the total number of rows&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;. The program must generate a right-angled triangle filled sequentially with alphabetic letters&lt;/span&gt;&lt;span data-path-to-node=&quot;12,3&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,4&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;, where odd-numbered rows display uppercase letters (&lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;A&lt;/code&gt;, &lt;code data-index-in-node=&quot;56&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;B&lt;/code&gt;, &lt;code data-index-in-node=&quot;59&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;C&lt;/code&gt;...) and even-numbered rows display lowercase letters (&lt;code data-index-in-node=&quot;115&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;a&lt;/code&gt;, &lt;code data-index-in-node=&quot;118&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;b&lt;/code&gt;, &lt;code data-index-in-node=&quot;121&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;c&lt;/code&gt;...)&lt;/span&gt;&lt;span data-path-to-node=&quot;12,5&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,6&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Pattern Analysis &amp;amp; Dynamic Logic&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-376&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Rows (Outer Loop):&lt;/b&gt; Control variable &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;48&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-377&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Columns (Inner Loop):&lt;/b&gt; Control variable &lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;j&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;56&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i&lt;/code&gt;, controlling how many characters appear in the current row&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,2,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Character Tracking:&lt;/b&gt; Maintain a continuous offset or global sequence tracker (&lt;code data-index-in-node=&quot;77&quot; data-path-to-node=&quot;14,2,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;letter_index&lt;/code&gt; starting at &lt;code data-index-in-node=&quot;102&quot; data-path-to-node=&quot;14,2,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/code&gt; for &lt;code data-index-in-node=&quot;108&quot; data-path-to-node=&quot;14,2,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;A&#39;/&#39;a&#39;&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,3,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,3,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Conditional Parity Check:&lt;/b&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;14,3,1&quot; style=&quot;line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,3,1,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-378&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;14,3,1,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;If the row index &lt;code data-index-in-node=&quot;17&quot; data-path-to-node=&quot;14,3,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i&lt;/code&gt; is &lt;b data-index-in-node=&quot;22&quot; data-path-to-node=&quot;14,3,1,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;odd&lt;/b&gt; (&lt;code data-index-in-node=&quot;27&quot; data-path-to-node=&quot;14,3,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2 != 0&lt;/code&gt;), output the character in &lt;b data-index-in-node=&quot;64&quot; data-path-to-node=&quot;14,3,1,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;uppercase&lt;/b&gt;: &lt;code data-index-in-node=&quot;75&quot; data-path-to-node=&quot;14,3,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;A&#39; + letter_index&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,1,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,1,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,3,1,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-379&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;14,3,1,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;If the row index &lt;code data-index-in-node=&quot;17&quot; data-path-to-node=&quot;14,3,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i&lt;/code&gt; is &lt;b data-index-in-node=&quot;22&quot; data-path-to-node=&quot;14,3,1,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;even&lt;/b&gt; (&lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;14,3,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2 == 0&lt;/code&gt;), output the character in &lt;b data-index-in-node=&quot;65&quot; data-path-to-node=&quot;14,3,1,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;lowercase&lt;/b&gt;: &lt;code data-index-in-node=&quot;76&quot; data-path-to-node=&quot;14,3,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;a&#39; + letter_index&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,1,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,1,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;14,4,0&quot; id=&quot;p-rc_a39723b28cd8024e-380&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;14,4,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,4,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Character Reset:&lt;/b&gt; Wrap the alphabet back to the start (&lt;code data-index-in-node=&quot;54&quot; data-path-to-node=&quot;14,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;index % 26&lt;/code&gt;) to avoid non-alphabetic ASCII symbols when iterating past 26 characters&lt;/span&gt;&lt;span data-path-to-node=&quot;14,4,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,4,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Step-by-Step Algorithm&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ol data-path-to-node=&quot;16&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-381&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Prompt the user to enter the number of rows &lt;code data-index-in-node=&quot;44&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-382&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Initialize an integer tracking variable &lt;code data-index-in-node=&quot;40&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;letterIndex = 0&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_a39723b28cd8024e-383&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Execute an outer loop &lt;code data-index-in-node=&quot;22&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i&lt;/code&gt; from &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,0&quot; id=&quot;p-rc_a39723b28cd8024e-384&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Execute an inner loop &lt;code data-index-in-node=&quot;22&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;j&lt;/code&gt; from &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Evaluate &lt;code data-index-in-node=&quot;9&quot; data-path-to-node=&quot;16,4,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2&lt;/code&gt;:&lt;/p&gt;&lt;ul data-path-to-node=&quot;16,4,1&quot; style=&quot;line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,1,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-385&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;If &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2 != 0&lt;/code&gt; (odd row), calculate character as &lt;code data-index-in-node=&quot;48&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;A&#39; + (letterIndex % 26)&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,1,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-386&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;If &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2 == 0&lt;/code&gt; (even row), calculate character as &lt;code data-index-in-node=&quot;49&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;a&#39; + (letterIndex % 26)&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,5,0&quot; id=&quot;p-rc_a39723b28cd8024e-387&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,5,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Print the computed character followed by a space and increment &lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;16,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;letterIndex&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;16,6,0&quot; id=&quot;p-rc_a39723b28cd8024e-388&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;16,6,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Output a newline character (&lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;16,6,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;\n&lt;/code&gt;) after each row completes&lt;/span&gt;&lt;span data-path-to-node=&quot;16,6,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,6,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;18,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;18,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-71 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-71 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;330&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_fa7009707f4de3b8&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_a39723b28cd8024e&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-71&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-71&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-71 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-71 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-71&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-71&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; n;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Prompt user for input&lt;/span&gt;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;Please enter a valid positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; letterIndex = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/span&gt;;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Outer loop for rows&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Inner loop for columns in row &#39;i&#39;&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Check row parity for alternating case&lt;/span&gt;
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;if&lt;/span&gt; (i % &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;2&lt;/span&gt; != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/span&gt;) {
                &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Odd rows: Uppercase&lt;/span&gt;
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;%c &quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;A&#39;&lt;/span&gt; + (letterIndex % &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;26&lt;/span&gt;));
            } &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Even rows: Lowercase&lt;/span&gt;
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;%c &quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;a&#39;&lt;/span&gt; + (letterIndex % &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;26&lt;/span&gt;));
            }
            letterIndex++;
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Move to the next line after completing the row&lt;/span&gt;
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;20,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Line-by-Line Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;20,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-389&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;if (scanf(&quot;%d&quot;, &amp;amp;n) != 1 || n &amp;lt;= 0)&lt;/code&gt;&lt;/b&gt;: Ensures clean input validation by checking for non-numeric or non-positive integer values&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-390&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;int letterIndex = 0;&lt;/code&gt;&lt;/b&gt;: Serves as a continuous offset tracker across all rows&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_a39723b28cd8024e-391&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;if (i % 2 != 0)&lt;/code&gt;&lt;/b&gt;: Evaluates whether the current row index is odd or even to select character casing&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_a39723b28cd8024e-392&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;A&#39; + (letterIndex % 26)&lt;/code&gt;&lt;/b&gt;: Uses standard ASCII arithmetic to derive the correct uppercase character while wrapping around at 26 letters&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_a39723b28cd8024e-393&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;a&#39; + (letterIndex % 26)&lt;/code&gt;&lt;/b&gt;: Derives the matching lowercase character for even rows&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;21,5,0&quot; id=&quot;p-rc_a39723b28cd8024e-394&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt;&lt;/b&gt;: Terminates the current row to maintain proper triangle geometry&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Compiling &amp;amp; Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Sample Run&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-73 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-73 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;342&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_fa7009707f4de3b8&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_a39723b28cd8024e&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-73&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-73&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-73 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-73 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Enter the number of rows: 4&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-73&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-73&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;A 
b c 
D E F 
g h i j 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Variations &amp;amp; Enhancements&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-395&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Column-Based Alternating Case:&lt;/b&gt; Evaluate &lt;code data-index-in-node=&quot;40&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;j % 2&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;57&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2&lt;/code&gt; to alternate uppercase and lowercase characters across columns within the exact same row&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-396&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Alternating Alphabet Directions:&lt;/b&gt; Reverse letter placement on even rows to print forward on odd rows (&lt;code data-index-in-node=&quot;101&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;A, B, C&lt;/code&gt;) and backward on even rows (&lt;code data-index-in-node=&quot;137&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;f, e, d&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;30,2,0&quot; id=&quot;p-rc_a39723b28cd8024e-397&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Inverted Triangle:&lt;/b&gt; Reverse the outer loop (&lt;code data-index-in-node=&quot;43&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;for (int i = n; i &amp;gt;= 1; i--)&lt;/code&gt;) to output a top-heavy triangular pattern&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;32,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;32,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;33&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;33,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-398&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;ASCII Overflow:&lt;/b&gt; Forgetting modulo arithmetic (&lt;code data-index-in-node=&quot;46&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;% 26&lt;/code&gt;) will cause printing to extend into non-alphabetic ASCII characters (such as &lt;code data-index-in-node=&quot;128&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;[&lt;/code&gt;, &lt;code data-index-in-node=&quot;131&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;\&lt;/code&gt;, &lt;code data-index-in-node=&quot;134&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;]&lt;/code&gt;) when total letters exceed 26&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;33,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-399&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Confusing Row vs. Column Parity:&lt;/b&gt; Checking &lt;code data-index-in-node=&quot;42&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;j % 2&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;59&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;i % 2&lt;/code&gt; toggles casing per character rather than per row&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;33,2,0&quot; id=&quot;p-rc_a39723b28cd8024e-400&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Missing Line Break:&lt;/b&gt; Leaving out &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; outputs the entire character series as a single line&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;35,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;35,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif !important&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;ul data-path-to-node=&quot;36&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;36,0,0&quot; id=&quot;p-rc_a39723b28cd8024e-401&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Time Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;\mathcal{O}(n^2)&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;{O}(n^2)&lt;/span&gt;&amp;nbsp;— requires &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n(n+1)/2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;n(n+1)/2&lt;/span&gt;&amp;nbsp;total iterations across nested loops&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;36,1,0&quot; id=&quot;p-rc_a39723b28cd8024e-402&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Space Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;\mathcal{O}(1)&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;{O}(1)&lt;/span&gt;&amp;nbsp;— operates strictly using constant memory space&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;38&quot; id=&quot;p-rc_a39723b28cd8024e-403&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span data-path-to-node=&quot;38,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Combining character arithmetic with conditional parity checks provides flexible control over ASCII output layouts&lt;/span&gt;&lt;span data-path-to-node=&quot;38,1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;38,2&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p&gt;&lt;span data-path-to-node=&quot;39,0&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Try modifying the program to print alternating alphabet rows forward and backward! Post your implementation in the comments below&lt;/span&gt;&lt;span data-path-to-node=&quot;39,1&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;39,2&quot; face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; text-align: right; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;                                                                                                                   …till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/8051274818486866548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-alternating-alphabet-patterns-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8051274818486866548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8051274818486866548'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-alternating-alphabet-patterns-in-c.html' title='Printing Alternating Alphabet Patterns in C | Conditional Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-1900505163412940723</id><published>2026-09-11T00:00:00.000+05:30</published><updated>2026-09-11T00:00:00.206+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Conditional Alphabet Patterns (e.g., Vowels/Consonants) in C | Conditional Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Combining character arithmetic with conditional checks inside nested loops provides a dynamic way to generate formatted text structures&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Today&#39;s article in our &lt;i data-index-in-node=&quot;25&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Programming in C&lt;/i&gt; series covers &lt;b data-index-in-node=&quot;64&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional Alphabet Patterns&lt;/b&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial demonstrates how to apply logic to filter characters—specifically isolating vowels—to build a customized triangular pattern&lt;/span&gt;&lt;span data-path-to-node=&quot;1,5&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,6&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_4fd76b6309538063-937&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_4fd76b6309538063-938&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Title:&lt;/b&gt; Vowels-Only Triangle Pattern in C&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_4fd76b6309538063-939&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Purpose:&lt;/b&gt; Enhance your nested loop logic, character handling, and conditional reasoning by generating alphabet sequences filtered by specific properties&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; id=&quot;p-rc_4fd76b6309538063-940&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites:&lt;/b&gt; Knowledge of basic &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;45&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;, character data types (&lt;code data-index-in-node=&quot;82&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;char&lt;/code&gt;), and &lt;code data-index-in-node=&quot;93&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; control flow&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Final Output&lt;/h3&gt;&lt;p data-path-to-node=&quot;7&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an input of &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;7&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;rows = 4&lt;/code&gt;, the program generates:&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-194 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-194 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ9gc&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_105ed6c48431f0ff&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_4fd76b6309538063&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-194&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-194&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-194 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-194 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-194&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-194&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;E I 
O U A 
E I O U 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;10,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;10,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Problem Statement&lt;/h3&gt;&lt;p data-path-to-node=&quot;12&quot; id=&quot;p-rc_4fd76b6309538063-941&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;12,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Write a C program that accepts an integer &lt;code data-index-in-node=&quot;42&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; for the total number of rows&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. The program must print a right-angled triangle where each position is filled sequentially by uppercase English vowels (&lt;code data-index-in-node=&quot;121&quot; data-path-to-node=&quot;12,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A&lt;/code&gt;, &lt;code data-index-in-node=&quot;124&quot; data-path-to-node=&quot;12,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;E&lt;/code&gt;, &lt;code data-index-in-node=&quot;127&quot; data-path-to-node=&quot;12,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;I&lt;/code&gt;, &lt;code data-index-in-node=&quot;130&quot; data-path-to-node=&quot;12,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O&lt;/code&gt;, &lt;code data-index-in-node=&quot;133&quot; data-path-to-node=&quot;12,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;U&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;12,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. When the sequence reaches &lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;U&lt;/code&gt;, it wraps around to start again at &lt;code data-index-in-node=&quot;65&quot; data-path-to-node=&quot;12,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,6&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Analysis &amp;amp; Logic&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_4fd76b6309538063-942&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Rows (Outer Loop):&lt;/b&gt; &lt;code data-index-in-node=&quot;19&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_4fd76b6309538063-943&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Columns (Inner Loop):&lt;/b&gt; &lt;code data-index-in-node=&quot;22&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;, dictating the total characters printed in each row&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,0&quot; id=&quot;p-rc_4fd76b6309538063-944&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional Character Filtering:&lt;/b&gt; We evaluate standard uppercase characters (&lt;code data-index-in-node=&quot;76&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A&lt;/code&gt;–&lt;code data-index-in-node=&quot;78&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Z&lt;/code&gt;) sequentially&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. A character is printed only if it passes a vowel check (&lt;code data-index-in-node=&quot;58&quot; data-path-to-node=&quot;14,2,0,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch == &#39;A&#39; || ch == &#39;E&#39; || ch == &#39;I&#39; || ch == &#39;O&#39; || ch == &#39;U&#39;&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,3,0&quot; id=&quot;p-rc_4fd76b6309538063-945&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Character Reset:&lt;/b&gt; After finding and printing a vowel, we advance to the next character in the alphabet, wrapping back to &lt;code data-index-in-node=&quot;120&quot; data-path-to-node=&quot;14,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/code&gt; after &lt;code data-index-in-node=&quot;130&quot; data-path-to-node=&quot;14,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;Z&#39;&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Step-by-Step Algorithm&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ol data-path-to-node=&quot;16&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_4fd76b6309538063-946&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prompt the user to enter the number of rows &lt;code data-index-in-node=&quot;44&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_4fd76b6309538063-947&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Initialize a tracking character variable &lt;code data-index-in-node=&quot;41&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch = &#39;A&#39;&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_4fd76b6309538063-948&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an outer loop with control variable &lt;code data-index-in-node=&quot;44&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; running from &lt;code data-index-in-node=&quot;59&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,0&quot; id=&quot;p-rc_4fd76b6309538063-949&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an inner loop with control variable &lt;code data-index-in-node=&quot;44&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; running from &lt;code data-index-in-node=&quot;59&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inside the inner loop, use a &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;16,4,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;while&lt;/code&gt; loop to find the next vowel:&lt;/p&gt;&lt;ul data-path-to-node=&quot;16,4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,1,0,0&quot; id=&quot;p-rc_4fd76b6309538063-950&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Test if &lt;code data-index-in-node=&quot;8&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch&lt;/code&gt; is a vowel&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,1,1,0&quot; id=&quot;p-rc_4fd76b6309538063-951&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If it is not a vowel, increment &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch&lt;/code&gt; (wrapping to &lt;code data-index-in-node=&quot;48&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/code&gt; if it exceeds &lt;code data-index-in-node=&quot;66&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;Z&#39;&lt;/code&gt;) and re-check&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,5,0&quot; id=&quot;p-rc_4fd76b6309538063-952&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print the valid vowel followed by a space, increment &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;16,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch&lt;/code&gt; (handling wrap-around), and complete the inner iteration&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,6,0&quot; id=&quot;p-rc_4fd76b6309538063-953&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,6,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print a newline character (&lt;code data-index-in-node=&quot;27&quot; data-path-to-node=&quot;16,6,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\n&lt;/code&gt;) after completing each row&lt;/span&gt;&lt;span data-path-to-node=&quot;16,6,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,6,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;18,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-195 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-195 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQhAg&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_105ed6c48431f0ff&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_4fd76b6309538063&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-195&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-195&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-195 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-195 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-195&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-195&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-meta&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdbool.h&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Helper function to check if a character is an uppercase vowel&lt;/span&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;isVowel&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;char&lt;/span&gt; c)&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; (c == &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/span&gt; || c == &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;E&#39;&lt;/span&gt; || c == &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;I&#39;&lt;/span&gt; || c == &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;O&#39;&lt;/span&gt; || c == &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;U&#39;&lt;/span&gt;);
}

&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Prompt user for input&lt;/span&gt;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Please enter a valid positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;char&lt;/span&gt; ch = &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/span&gt;;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Outer loop for rows&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Inner loop for columns in row &#39;i&#39;&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Advance until a vowel is found&lt;/span&gt;
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;while&lt;/span&gt; (!isVowel(ch)) {
                ch++;
                &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (ch &amp;gt; &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;Z&#39;&lt;/span&gt;) {
                    ch = &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/span&gt;;
                }
            }
            
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print the vowel&lt;/span&gt;
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%c &quot;&lt;/span&gt;, ch);

            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Move to next character for future iterations&lt;/span&gt;
            ch++;
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (ch &amp;gt; &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;Z&#39;&lt;/span&gt;) {
                ch = &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/span&gt;;
            }
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Move to the next line after completing the row&lt;/span&gt;
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;20,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line-by-Line Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_4fd76b6309538063-954&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;bool isVowel(char c)&lt;/code&gt;&lt;/b&gt;: A helper function returning &lt;code data-index-in-node=&quot;50&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;true&lt;/code&gt; if &lt;code data-index-in-node=&quot;58&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;c&lt;/code&gt; matches any uppercase vowel&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_4fd76b6309538063-955&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (scanf(&quot;%d&quot;, &amp;amp;n) != 1 || n &amp;lt;= 0)&lt;/code&gt;&lt;/b&gt;: Performs strict input validation to guard against non-numeric or non-positive input values&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_4fd76b6309538063-956&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;while (!isVowel(ch))&lt;/code&gt;&lt;/b&gt;: Skips non-vowel characters until the next valid vowel is reached&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_4fd76b6309538063-957&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (ch &amp;gt; &#39;Z&#39;) { ch = &#39;A&#39;; }&lt;/code&gt;&lt;/b&gt;: Ensures the character pointer safely wraps back to the beginning of the alphabet without outputting non-alphabetic ASCII symbols&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_4fd76b6309538063-958&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%c &quot;, ch);&lt;/code&gt;&lt;/b&gt;: Outputs the target character followed by spacing for alignment&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,5,0&quot; id=&quot;p-rc_4fd76b6309538063-959&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt;&lt;/b&gt;: Moves execution to the next line after each row finishes&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling &amp;amp; Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Sample Run&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-197 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-197 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQjAg&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_105ed6c48431f0ff&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_4fd76b6309538063&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-197&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-197&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-197 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-197 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-197&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-197&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A 
E I 
O U A 
E I O U 
A E I O U 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Variations &amp;amp; Enhancements&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_4fd76b6309538063-960&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Consonants-Only Triangle:&lt;/b&gt; Invert the conditional check (&lt;code data-index-in-node=&quot;56&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;!isVowel(ch)&lt;/code&gt;) to generate patterns composed strictly of consonant letters&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_4fd76b6309538063-961&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Alternating Vowel/Consonant Rows:&lt;/b&gt; Toggle the condition on alternating rows using &lt;code data-index-in-node=&quot;81&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i % 2&lt;/code&gt; to print vowels on odd rows and consonants on even rows&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,2,0&quot; id=&quot;p-rc_4fd76b6309538063-962&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lowercase Conversion:&lt;/b&gt; Adapt the character check and range (&lt;code data-index-in-node=&quot;59&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;a&#39;&lt;/code&gt; to &lt;code data-index-in-node=&quot;66&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;z&#39;&lt;/code&gt;) to render the pattern in lowercase&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;32,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;32,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;33&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,0,0&quot; id=&quot;p-rc_4fd76b6309538063-963&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ASCII Overflow:&lt;/b&gt; Forgetting to wrap back to &lt;code data-index-in-node=&quot;43&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;A&#39;&lt;/code&gt; when &lt;code data-index-in-node=&quot;52&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch&lt;/code&gt; exceeds &lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&#39;Z&#39;&lt;/code&gt; causes non-alphabetic ASCII characters (like &lt;code data-index-in-node=&quot;112&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;[&lt;/code&gt;, &lt;code data-index-in-node=&quot;115&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\&lt;/code&gt;, &lt;code data-index-in-node=&quot;118&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;]&lt;/code&gt;) to appear in your pattern&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,1,0&quot; id=&quot;p-rc_4fd76b6309538063-964&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Counter Increment:&lt;/b&gt; Failing to increment &lt;code data-index-in-node=&quot;48&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ch&lt;/code&gt; after printing causes the loop to get stuck on the same character infinitely&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,2,0&quot; id=&quot;p-rc_4fd76b6309538063-965&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Break:&lt;/b&gt; Forgetting &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; outputs all characters onto a single continuous line&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;35,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;35,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;ul data-path-to-node=&quot;36&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,0,0&quot; id=&quot;p-rc_4fd76b6309538063-966&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;\mathcal{O}(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(n^2)&lt;/span&gt;&amp;nbsp;— requires &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n(n+1)/2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n(n+1)/2&lt;/span&gt;&amp;nbsp;total character output operations, with minor constant iterations for character filtering&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,1,0&quot; id=&quot;p-rc_4fd76b6309538063-967&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity:&lt;/b&gt;&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;\mathcal{O}(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(1)&lt;/span&gt;&amp;nbsp;— operates using constant auxiliary memory&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;38&quot; id=&quot;p-rc_4fd76b6309538063-968&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;38,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering character arithmetic alongside conditional filtering opens up powerful possibilities for string and text-based pattern generation&lt;/span&gt;&lt;span data-path-to-node=&quot;38,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;38,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_4fd76b6309538063-969&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Try altering the condition to build a &lt;b data-index-in-node=&quot;38&quot; data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Consonants-Only Pattern&lt;/b&gt;! Share your code implementation in the comments below&lt;/span&gt;&lt;span data-path-to-node=&quot;39,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_4fd76b6309538063-969&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/1900505163412940723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-conditional-alphabet-patterns-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1900505163412940723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1900505163412940723'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-conditional-alphabet-patterns-in-c.html' title='Printing Conditional Alphabet Patterns (e.g., Vowels/Consonants) in C | Conditional Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-8633548304861006186</id><published>2026-09-10T00:00:00.000+05:30</published><updated>2026-09-10T00:00:00.244+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Multiplication Table Patterns in C | Conditional Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Integrating conditional arithmetic and structured loops transforms basic multiplication tables into visually appealing numerical grids&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Today’s article in our &lt;i data-index-in-node=&quot;25&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Programming in C&lt;/i&gt; series covers &lt;b data-index-in-node=&quot;64&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Multiplication Table Patterns&lt;/b&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial demonstrates how to leverage nested loops to render both triangular and grid-based multiplication matrices&lt;/span&gt;&lt;span data-path-to-node=&quot;1,5&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,6&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_488db97ce8063b3e-840&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_488db97ce8063b3e-841&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Title:&lt;/b&gt; Triangular Multiplication Table Pattern in C&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_488db97ce8063b3e-842&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Purpose:&lt;/b&gt; Boost your nested loop logic by generating matrix products dynamically based on row and column index relationships&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; id=&quot;p-rc_488db97ce8063b3e-843&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites:&lt;/b&gt; Familiarity with basic &lt;code data-index-in-node=&quot;38&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;49&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;57&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;, and standard arithmetic operators&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Final Output&lt;/h3&gt;&lt;p data-path-to-node=&quot;7&quot; id=&quot;p-rc_488db97ce8063b3e-844&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;7,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an input of &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;rows = 5&lt;/code&gt;, the program generates&lt;/span&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;7,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-175 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-175 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ8AY&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_b466284d948a3b43&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_488db97ce8063b3e&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-175&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-175&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-175 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-175 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-175&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-175&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 4 
3 6 9 
4 8 12 16 
5 10 15 20 25 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;10,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;10,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Problem Statement&lt;/h3&gt;&lt;p data-path-to-node=&quot;12&quot; id=&quot;p-rc_488db97ce8063b3e-845&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Write a C program that prompts the user for the number of rows &lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; and prints a triangular grid where the element at row &lt;code data-index-in-node=&quot;119&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; and column &lt;code data-index-in-node=&quot;132&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; represents the product of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;160&quot; data-math=&quot;i \times j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i \times j&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Analysis &amp;amp; Dynamic Logic&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_488db97ce8063b3e-846&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Rows (Outer Loop):&lt;/b&gt; Control variable &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;48&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; (representing the base factor)&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_488db97ce8063b3e-847&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Columns (Inner Loop):&lt;/b&gt; Control variable &lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;56&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; (representing the multiplier)&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,0&quot; id=&quot;p-rc_488db97ce8063b3e-848&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Cell Calculation:&lt;/b&gt; Each printed value is computed dynamically as &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i * j&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,3,0&quot; id=&quot;p-rc_488db97ce8063b3e-849&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Formatting:&lt;/b&gt; Proper spacing or tab formatting (&lt;code data-index-in-node=&quot;46&quot; data-path-to-node=&quot;14,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\t&lt;/code&gt; or &lt;code data-index-in-node=&quot;52&quot; data-path-to-node=&quot;14,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;%3d&lt;/code&gt;) ensures clean visual alignment regardless of single or multi-digit products&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Algorithm&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ol data-path-to-node=&quot;16&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_488db97ce8063b3e-850&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Read the positive integer &lt;code data-index-in-node=&quot;26&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; from the user&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_488db97ce8063b3e-851&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an outer loop with variable &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; running from &lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;56&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_488db97ce8063b3e-852&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an inner loop with variable &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; running from &lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;56&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,0&quot; id=&quot;p-rc_488db97ce8063b3e-853&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compute the product: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;21&quot; data-math=&quot;\text{val} = i \times j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{val} = i \times j&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,0&quot; id=&quot;p-rc_488db97ce8063b3e-854&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print &lt;code data-index-in-node=&quot;6&quot; data-path-to-node=&quot;16,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;val&lt;/code&gt; formatted with consistent field width for alignment&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,5,0&quot; id=&quot;p-rc_488db97ce8063b3e-855&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Output a newline character (&lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;16,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\n&lt;/code&gt;) after completing the inner loop to end the row&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;18,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-176 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-176 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ_AY&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_b466284d948a3b43&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_488db97ce8063b3e&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-176&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-176&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-176 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-176 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-176&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-176&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Prompt user for input&lt;/span&gt;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Please enter a valid positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Outer loop for rows (base factor)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Inner loop for columns (multiplier)&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print product of i and j with width formatting for alignment&lt;/span&gt;
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%-4d&quot;&lt;/span&gt;, i * j);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Move to the next line after completing the row&lt;/span&gt;
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;20,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line-by-Line Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_488db97ce8063b3e-856&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (scanf(&quot;%d&quot;, &amp;amp;n) != 1 || n &amp;lt;= 0)&lt;/code&gt;&lt;/b&gt;: Performs strict input validation to handle non-numeric or non-positive integer values gracefully&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_488db97ce8063b3e-857&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = 1; i &amp;lt;= n; i++)&lt;/code&gt;&lt;/b&gt;: Dictates row progression, setting &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; as the multiplicand&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_488db97ce8063b3e-858&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int j = 1; j &amp;lt;= i; j++)&lt;/code&gt;&lt;/b&gt;: Controls column generation up to &lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; iterations, setting &lt;code data-index-in-node=&quot;85&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; as the multiplier&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_488db97ce8063b3e-859&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%-4d&quot;, i * j);&lt;/code&gt;&lt;/b&gt;: Multiplies &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; and &lt;code data-index-in-node=&quot;41&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; directly and prints the result left-aligned in a 4-character wide field&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_488db97ce8063b3e-860&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt;&lt;/b&gt;: Moves the cursor to the next line to complete the triangular shape&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling &amp;amp; Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Sample Run&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-178 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-178 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQgwc&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_b466284d948a3b43&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_488db97ce8063b3e&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-178&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-178&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-178 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-178 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-178&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-178&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1   
2   4   
3   6   9   
4   8   12  16  
5   10  15  20  25  
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Variations &amp;amp; Enhancements&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_488db97ce8063b3e-861&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Full Matrix Grid:&lt;/b&gt; Change the inner loop condition to &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j &amp;lt;= n&lt;/code&gt; to print a full &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;76&quot; data-math=&quot;n \times n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n \times n$&lt;/span&gt; multiplication grid&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_488db97ce8063b3e-862&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional Filter:&lt;/b&gt; Apply an &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; block to print products only when they satisfy a condition (e.g., &lt;code data-index-in-node=&quot;103&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if ((i * j) % 2 == 0)&lt;/code&gt;) and print spaces or symbols otherwise&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,2,0&quot; id=&quot;p-rc_488db97ce8063b3e-863&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inverted Triangular Table:&lt;/b&gt; Reverse the outer loop (&lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = n; i &amp;gt;= 1; i--)&lt;/code&gt;) to output a descending multiplication triangle&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;32,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;32,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;33&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,0,0&quot; id=&quot;p-rc_488db97ce8063b3e-864&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Alignment Misalignment:&lt;/b&gt; Using a plain space (&lt;code data-index-in-node=&quot;45&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/code&gt;) causes grid distortion when products transition from 1-digit to 2-digit numbers. Use width specifiers (e.g., &lt;code data-index-in-node=&quot;159&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;%-4d&lt;/code&gt;) or tabs (&lt;code data-index-in-node=&quot;174&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\t&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,1,0&quot; id=&quot;p-rc_488db97ce8063b3e-865&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Confusing Factors:&lt;/b&gt; Swapping &lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i * j&lt;/code&gt; with arbitrary variables can lead to incorrect sequence outputs&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,2,0&quot; id=&quot;p-rc_488db97ce8063b3e-866&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Breaks:&lt;/b&gt; Omitting &lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; outputs all calculated products onto a single continuous line&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;35,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;35,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;ul data-path-to-node=&quot;36&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,0,0&quot; id=&quot;p-rc_488db97ce8063b3e-867&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;\mathcal{O}(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(n^2)&lt;/span&gt;&amp;nbsp;— executing &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;46&quot; data-math=&quot;n(n+1)/2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n(n+1)/2&lt;/span&gt;&amp;nbsp;total product calculations across nested loops&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,1,0&quot; id=&quot;p-rc_488db97ce8063b3e-868&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;\mathcal{O}(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(1)&lt;/span&gt;&amp;nbsp;— runs in constant memory space&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;38&quot; id=&quot;p-rc_488db97ce8063b3e-869&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;38,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering grid calculations and output formatting in nested loops builds strong foundational skills for complex multi-dimensional array operations&lt;/span&gt;&lt;span data-path-to-node=&quot;38,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;38,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;div style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: left;&quot;&gt;&lt;span data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Try expanding this code to display only odd multiplication products while hiding even ones! Drop your code in the comments section below&lt;/span&gt;&lt;span data-path-to-node=&quot;39,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: left;&quot;&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/8633548304861006186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-multiplication-table-patterns-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8633548304861006186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8633548304861006186'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-multiplication-table-patterns-in-c.html' title='Printing Multiplication Table Patterns in C | Conditional Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-8865734094137191215</id><published>2026-09-09T00:00:00.000+05:30</published><updated>2026-09-09T00:00:00.122+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Prime Number Patterns in C | Conditional Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Integrating algorithmic checks into nested loops elevates basic pattern programming into advanced problem-solving&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Today’s article in our &lt;i data-index-in-node=&quot;25&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Programming in C&lt;/i&gt; series covers the &lt;b data-index-in-node=&quot;68&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prime Number Triangle Pattern&lt;/b&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial demonstrates how to combine nested loop structures with primality testing logic to display prime numbers in a triangular arrangement&lt;/span&gt;&lt;span data-path-to-node=&quot;1,5&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,6&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_1f901f068aca0db7-746&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_1f901f068aca0db7-747&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Title:&lt;/b&gt; Prime Number Right Triangle Pattern in C&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_1f901f068aca0db7-748&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Purpose:&lt;/b&gt; Strengthen your nested loop logic, conditional reasoning, and prime-checking algorithms&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; id=&quot;p-rc_1f901f068aca0db7-749&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites:&lt;/b&gt; Knowledge of basic &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;45&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;, custom functions, and &lt;code data-index-in-node=&quot;82&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; control flow&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Final Output&lt;/h3&gt;&lt;p data-path-to-node=&quot;7&quot; id=&quot;p-rc_1f901f068aca0db7-750&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;7,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an input of &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;rows = 4&lt;/code&gt;, the program generates&lt;/span&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;7,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-156 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-156 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ5QU&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_92cc70f42e3349b1&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_1f901f068aca0db7&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-156&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-156&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-156 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-156 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-156&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-156&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3 5
7 11 13
17 19 23 29
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;10,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;10,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Problem Statement&lt;/h3&gt;&lt;p data-path-to-node=&quot;12&quot; id=&quot;p-rc_1f901f068aca0db7-751&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;12,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Write a C program that prompts the user for the number of rows &lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; and prints a right-angled triangle containing sequential prime numbers&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Row 1 contains 1 prime number, Row 2 contains 2, Row 3 contains 3, and so on&lt;/span&gt;&lt;span data-path-to-node=&quot;12,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Analysis &amp;amp; Logic&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-752&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Rows (Outer Loop):&lt;/b&gt; &lt;code data-index-in-node=&quot;19&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-753&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Columns (Inner Loop):&lt;/b&gt; &lt;code data-index-in-node=&quot;22&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;, dictating how many prime numbers to display in the current row&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,0&quot; id=&quot;p-rc_1f901f068aca0db7-754&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Primality Check:&lt;/b&gt; A positive integer greater than 1 is prime if it has no positive divisors other than 1 and itself&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. We maintain a global candidate integer starting at &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;14,2,0,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/code&gt; and increment it until we find the next prime value to print&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Step-by-Step Algorithm&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ol data-path-to-node=&quot;16&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-755&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Read the total number of rows &lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; from the user&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-756&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Initialize a candidate number variable &lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num = 2&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_1f901f068aca0db7-757&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an outer loop &lt;code data-index-in-node=&quot;22&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; from &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,0&quot; id=&quot;p-rc_1f901f068aca0db7-758&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an inner loop &lt;code data-index-in-node=&quot;22&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; from &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;16,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Within the inner loop, continuously test &lt;code data-index-in-node=&quot;41&quot; data-path-to-node=&quot;16,4,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt; using a primality check algorithm:&lt;/p&gt;&lt;ul data-path-to-node=&quot;16,4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,1,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-759&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt; is prime, print &lt;code data-index-in-node=&quot;23&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt; followed by a space, increment &lt;code data-index-in-node=&quot;58&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt;, and move to the next column &lt;code data-index-in-node=&quot;91&quot; data-path-to-node=&quot;16,4,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,1,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-760&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt; is not prime, increment &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;16,4,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt; and recheck until a valid prime is found&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,1,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,5,0&quot; id=&quot;p-rc_1f901f068aca0db7-761&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print a newline character (&lt;code data-index-in-node=&quot;27&quot; data-path-to-node=&quot;16,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\n&lt;/code&gt;) after completing each row&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;18,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-157 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-157 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ8QU&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_92cc70f42e3349b1&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_1f901f068aca0db7&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-157&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-157&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-157 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-157 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-157&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-157&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-meta&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdbool.h&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Helper function to check if a number is prime&lt;/span&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;isPrime&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; num)&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (num &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;) &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-literal&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;false&lt;/span&gt;;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; k = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;; k * k &amp;lt;= num; k++) {
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (num % k == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-literal&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;false&lt;/span&gt;;
    }
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-literal&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;true&lt;/span&gt;;
}

&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Prompt user for input&lt;/span&gt;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Please enter a valid positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; currentNum = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Outer loop for rows&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Inner loop for columns in row &#39;i&#39;&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Find the next prime number&lt;/span&gt;
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;while&lt;/span&gt; (!isPrime(currentNum)) {
                currentNum++;
            }
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print the valid prime number&lt;/span&gt;
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d &quot;&lt;/span&gt;, currentNum);
            currentNum++;
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Move to the next line after completing the row&lt;/span&gt;
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;20,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line-by-Line Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-762&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;bool isPrime(int num)&lt;/code&gt;&lt;/b&gt;: A helper function that returns &lt;code data-index-in-node=&quot;54&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;true&lt;/code&gt; if &lt;code data-index-in-node=&quot;62&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num&lt;/code&gt; is prime and &lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;false&lt;/code&gt; otherwise, optimizing checks up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;120&quot; data-math=&quot;\sqrt{\text{num}}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;sqrt{num}.&lt;/span&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-763&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (scanf(&quot;%d&quot;, &amp;amp;n) != 1 || n &amp;lt;= 0)&lt;/code&gt;&lt;/b&gt;: Performs strict input validation to guard against non-numeric or non-positive input values&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_1f901f068aca0db7-764&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int currentNum = 2;&lt;/code&gt;&lt;/b&gt;: Tracks the continuous sequence of integers, starting from the first prime number &lt;code data-index-in-node=&quot;102&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_1f901f068aca0db7-765&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;while (!isPrime(currentNum)) { currentNum++; }&lt;/code&gt;&lt;/b&gt;: Skips non-prime numbers until the next prime integer is found&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_1f901f068aca0db7-766&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%d &quot;, currentNum); currentNum++;&lt;/code&gt;&lt;/b&gt;: Prints the identified prime number and increments the candidate tracker for subsequent iterations&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,5,0&quot; id=&quot;p-rc_1f901f068aca0db7-767&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt;&lt;/b&gt;: Terminates the current row line&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling &amp;amp; Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Sample Run&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-159 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-159 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ-QU&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_92cc70f42e3349b1&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_1f901f068aca0db7&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-159&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-159&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-159 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-159 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-159&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-159&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 
3 5 
7 11 13 
17 19 23 29 
31 37 41 43 47 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Variations &amp;amp; Enhancements&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-768&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inverted Prime Triangle:&lt;/b&gt; Reverse the outer loop (&lt;code data-index-in-node=&quot;49&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = n; i &amp;gt;= 1; i--)&lt;/code&gt;) to print the largest row of prime numbers at the top&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-769&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional Primality Filtering:&lt;/b&gt; Print numbers from a standard counter, but display non-prime positions as symbols (e.g., &lt;code data-index-in-node=&quot;122&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,2,0&quot; id=&quot;p-rc_1f901f068aca0db7-770&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Centered Pyramid:&lt;/b&gt; Add space-printing logic before the inner number loop to convert the right-angled triangle into a centered pyramid&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;32,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;32,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;33&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-771&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Forgetting to Increment &lt;code data-index-in-node=&quot;24&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;currentNum&lt;/code&gt; After Printing:&lt;/b&gt; If &lt;code data-index-in-node=&quot;54&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;currentNum&lt;/code&gt; is not incremented after printing, the &lt;code data-index-in-node=&quot;104&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;while&lt;/code&gt; loop will repeatedly find and print the exact same prime number&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-772&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Unoptimized Primality Checks:&lt;/b&gt; Testing factors up to &lt;code data-index-in-node=&quot;52&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;num - 1&lt;/code&gt; rather than &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;72&quot; data-math=&quot;\sqrt{\text{num}}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$\sqrt{\text{num}}$&lt;/span&gt; significantly degrades performance for larger row counts&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,2,0&quot; id=&quot;p-rc_1f901f068aca0db7-773&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Treating 1 as Prime:&lt;/b&gt; Ensure your prime validation logic explicitly excludes &lt;code data-index-in-node=&quot;76&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt;, as &lt;code data-index-in-node=&quot;82&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; is neither prime nor composite&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;35,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;35,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;ul data-path-to-node=&quot;36&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,0,0&quot; id=&quot;p-rc_1f901f068aca0db7-774&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;\mathcal{O}(k \sqrt{m})&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(k \sqrt{m})$&lt;/span&gt;, where &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;48&quot; data-math=&quot;k&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;k&lt;/span&gt;&amp;nbsp;is the total count of printed numbers (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;89&quot; data-math=&quot;n(n+1)/2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n(n+1)/2&lt;/span&gt;) and &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;103&quot; data-math=&quot;m&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;m&lt;/span&gt;&amp;nbsp;is the value of the largest prime printed&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,1,0&quot; id=&quot;p-rc_1f901f068aca0db7-775&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;\mathcal{O}(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(1)&lt;/span&gt;&amp;nbsp;— operates in constant auxiliary space&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;38&quot; id=&quot;p-rc_1f901f068aca0db7-776&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;38,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Combining algorithmic checks like primality testing with nested loops provides a solid foundation for mastering dynamic matrix operations&lt;/span&gt;&lt;span data-path-to-node=&quot;38,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;38,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_1f901f068aca0db7-777&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Try modifying the code to create an &lt;b data-index-in-node=&quot;36&quot; data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inverted Prime Triangle&lt;/b&gt;! Post your solution in the comments section below&lt;/span&gt;&lt;span data-path-to-node=&quot;39,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_1f901f068aca0db7-777&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/8865734094137191215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-prime-number-patterns-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8865734094137191215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8865734094137191215'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-prime-number-patterns-in-c.html' title='Printing Prime Number Patterns in C | Conditional Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-6620668840403600463</id><published>2026-09-08T00:00:00.000+05:30</published><updated>2026-09-08T00:00:00.114+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Alternating Even/Odd Number Triangle In C | Conditional Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Integrating conditional statements into dynamic loop structures allows you to manipulate matrix-like numerical outputs with precision&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Today&#39;s entry in our &lt;i data-index-in-node=&quot;23&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Programming in C&lt;/i&gt; series covers the &lt;b data-index-in-node=&quot;66&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Alternating Even/Odd Number Triangle&lt;/b&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial demonstrates how to use parity logic to dynamically alter printed sequences row by row&lt;/span&gt;&lt;span data-path-to-node=&quot;1,5&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,6&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_d9175f3cb9cc3182-649&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_d9175f3cb9cc3182-650&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Title:&lt;/b&gt; Alternating Even/Odd Number Triangle Pattern in C&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_d9175f3cb9cc3182-651&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Purpose:&lt;/b&gt; Deepen your understanding of nested loops, modulus operations, and row-level parity switching&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; id=&quot;p-rc_d9175f3cb9cc3182-652&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites:&lt;/b&gt; Familiarity with nested &lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;50&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;58&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;, and basic &lt;code data-index-in-node=&quot;75&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; control flow&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Final Output&lt;/h3&gt;&lt;p data-path-to-node=&quot;7&quot; id=&quot;p-rc_d9175f3cb9cc3182-653&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;7,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an input of &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n = 5&lt;/code&gt; rows, the program generates&lt;/span&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;7,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-137 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-137 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ3wQ&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_4c910f7a5e5ec441&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_d9175f3cb9cc3182&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-137&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-137&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-137 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-137 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-137&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-137&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 3
2 4 6
1 3 5 7
2 4 6 8 10
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;10,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;10,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Problem Statement&lt;/h3&gt;&lt;p data-path-to-node=&quot;12&quot; id=&quot;p-rc_d9175f3cb9cc3182-654&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Write a C program that accepts an integer &lt;code data-index-in-node=&quot;42&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; for the total number of rows&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. The program must generate a triangle where even rows (1st, 3rd, 5th, etc.) print consecutive even numbers, and odd-indexed logic (or alternating rows) displays consecutive odd numbers starting from &lt;code data-index-in-node=&quot;200&quot; data-path-to-node=&quot;12,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Analysis &amp;amp; Dynamic Logic&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-655&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Row Loop (Outer Loop):&lt;/b&gt; &lt;code data-index-in-node=&quot;23&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;40&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-656&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Column Loop (Inner Loop):&lt;/b&gt; &lt;code data-index-in-node=&quot;26&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; runs from &lt;code data-index-in-node=&quot;38&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;43&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;, dictating the total numbers printed per row&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional Parity Check:&lt;/b&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;14,2,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,1,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-657&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,2,1,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If the row index &lt;code data-index-in-node=&quot;17&quot; data-path-to-node=&quot;14,2,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; is &lt;b data-index-in-node=&quot;22&quot; data-path-to-node=&quot;14,2,1,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;odd&lt;/b&gt;, print the &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;37&quot; data-math=&quot;j^{\text{th}}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;jth&lt;/span&gt;&amp;nbsp;even number: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;64&quot; data-math=&quot;2 \times j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 \times j&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,1,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,1,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-658&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,2,1,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If the row index &lt;code data-index-in-node=&quot;17&quot; data-path-to-node=&quot;14,2,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; is &lt;b data-index-in-node=&quot;22&quot; data-path-to-node=&quot;14,2,1,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;even&lt;/b&gt;, print the &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;38&quot; data-math=&quot;j^{\text{th}}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;jth&lt;/span&gt;&amp;nbsp;odd number: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;64&quot; data-math=&quot;(2 \times j) - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(2 \times j) - 1&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,1,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Step-by-Step Algorithm&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ol data-path-to-node=&quot;16&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-659&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Read the positive integer &lt;code data-index-in-node=&quot;26&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; from the user&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-660&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Iterate &lt;code data-index-in-node=&quot;8&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; from &lt;code data-index-in-node=&quot;15&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; up to &lt;code data-index-in-node=&quot;23&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; for row placement&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-661&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For each row &lt;code data-index-in-node=&quot;13&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;, iterate &lt;code data-index-in-node=&quot;24&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; from &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Evaluate &lt;code data-index-in-node=&quot;9&quot; data-path-to-node=&quot;16,3,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i % 2&lt;/code&gt;:&lt;/p&gt;&lt;ul data-path-to-node=&quot;16,3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,1,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-662&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,1,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If non-zero (odd row), evaluate value as &lt;code data-index-in-node=&quot;41&quot; data-path-to-node=&quot;16,3,1,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 * j&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,1,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,1,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,1,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-663&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,1,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;If zero (even row), evaluate value as &lt;code data-index-in-node=&quot;38&quot; data-path-to-node=&quot;16,3,1,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(2 * j) - 1&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,1,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,1,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-664&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print the calculated number followed by a space&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,5,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-665&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print a newline (&lt;code data-index-in-node=&quot;17&quot; data-path-to-node=&quot;16,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\n&lt;/code&gt;) at the end of every row iteration&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;18,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-138 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-138 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ7AQ&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_4c910f7a5e5ec441&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_d9175f3cb9cc3182&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-138&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-138&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-138 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-138 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-138&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-138&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Prompt user for input&lt;/span&gt;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Please enter a valid positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Outer loop for rows&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Inner loop for columns in row &#39;i&#39;&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Check row index parity&lt;/span&gt;
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (i % &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
                &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Odd rows print even numbers&lt;/span&gt;
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d &quot;&lt;/span&gt;, &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * j);
            } &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Even rows print odd numbers&lt;/span&gt;
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d &quot;&lt;/span&gt;, (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * j) - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;);
            }
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Move to the next line after completing the row&lt;/span&gt;
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;20,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line-by-Line Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-666&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (scanf(&quot;%d&quot;, &amp;amp;n) != 1 || n &amp;lt;= 0)&lt;/code&gt;&lt;/b&gt;: Performs strict input validation to guard against non-numeric or non-positive input values&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-667&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = 1; i &amp;lt;= n; i++)&lt;/code&gt;&lt;/b&gt;: Dictates row progression from top to bottom&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-668&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (i % 2 != 0)&lt;/code&gt;&lt;/b&gt;: Determines whether the current row index is odd or even&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-669&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%d &quot;, 2 * j);&lt;/code&gt;&lt;/b&gt;: Computes standard even numbers sequentially per column&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-670&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%d &quot;, (2 * j) - 1);&lt;/code&gt;&lt;/b&gt;: Computes standard odd numbers sequentially per column&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,5,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-671&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt;&lt;/b&gt;: Terminates the current printed line to build the triangular shape&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling &amp;amp; Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Sample Output&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-140 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-140 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ9AQ&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_4c910f7a5e5ec441&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_d9175f3cb9cc3182&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-140&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-140&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-140 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-140 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 4&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-140&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-140&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 
1 3 
2 4 6 
1 3 5 7 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Variations &amp;amp; Enhancements&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-672&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Column-Based Alternating:&lt;/b&gt; Replace row checks (&lt;code data-index-in-node=&quot;46&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i % 2&lt;/code&gt;) with column checks (&lt;code data-index-in-node=&quot;73&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j % 2&lt;/code&gt;) to alternate numbers across columns within the exact same row&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-673&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inverted Alternating Triangle:&lt;/b&gt; Reverse the outer loop (&lt;code data-index-in-node=&quot;55&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = n; i &amp;gt;= 1; i--)&lt;/code&gt;) to print the largest row at the top&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,2,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-674&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Continuous Global Counter:&lt;/b&gt; Instead of resetting calculations per row using &lt;code data-index-in-node=&quot;75&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt;, maintain global even and odd counters across the entire execution&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;32,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;32,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;33&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-675&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Confusing Row (&lt;code data-index-in-node=&quot;15&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;) vs. Column (&lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt;) Parity:&lt;/b&gt; Checking &lt;code data-index-in-node=&quot;50&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j % 2&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;67&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i % 2&lt;/code&gt; changes the output from alternating &lt;i data-index-in-node=&quot;109&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;rows&lt;/i&gt; to alternating &lt;i data-index-in-node=&quot;129&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;columns&lt;/i&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-676&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Incorrect Odd Formula:&lt;/b&gt; Using &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 * j + 1&lt;/code&gt; skips &lt;code data-index-in-node=&quot;45&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; and starts odd rows at &lt;code data-index-in-node=&quot;70&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/code&gt;. Ensure you use &lt;code data-index-in-node=&quot;88&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(2 * j) - 1&lt;/code&gt; when &lt;code data-index-in-node=&quot;105&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; starts at &lt;code data-index-in-node=&quot;117&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,2,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-677&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Break:&lt;/b&gt; Forgetting &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; renders all numbers into a single continuous stream&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;35,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;35,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;ul data-path-to-node=&quot;36&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,0,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-678&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;\mathcal{O}(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(n^2)&lt;/span&gt;&amp;nbsp;— requires &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n(n+1)/2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n(n+1)/2&lt;/span&gt;&amp;nbsp;total operations across outer and inner loops&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,1,0&quot; id=&quot;p-rc_d9175f3cb9cc3182-679&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;\mathcal{O}(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(1)&lt;/span&gt;&amp;nbsp;— executes in constant space using basic scalar variables&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;38&quot; id=&quot;p-rc_d9175f3cb9cc3182-680&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;38,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering parity-based conditional checks inside nested structures gives you complete control over complex matrix layouts&lt;/span&gt;&lt;span data-path-to-node=&quot;38,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;38,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_d9175f3cb9cc3182-681&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Try rewriting this program so odd rows print odd numbers and even rows print even numbers! Share your code modifications in the comments below&lt;/span&gt;&lt;span data-path-to-node=&quot;39,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_d9175f3cb9cc3182-681&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/6620668840403600463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-alternating-evenodd-number-triangle-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6620668840403600463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6620668840403600463'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-alternating-evenodd-number-triangle-in-c.html' title='Printing Alternating Even/Odd Number Triangle In C | Conditional Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-8989841159693312034</id><published>2026-09-07T00:00:00.000+05:30</published><updated>2026-09-07T00:00:00.191+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Right-Angled Triangle of Even Numbers in C | Conditional Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Applying conditional statements within nested loops opens up endless possibilities for pattern programming&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Today&#39;s article focuses on creating a &lt;b data-index-in-node=&quot;40&quot; data-path-to-node=&quot;1,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Right-Angled Triangle of Even Numbers&lt;/b&gt;—a foundational pattern that demonstrates how simple arithmetic checks shape console output&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_6439adc09dc568f2-554&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_6439adc09dc568f2-555&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Title:&lt;/b&gt; Even Numbers Right Triangle Pattern in C&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_6439adc09dc568f2-556&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Purpose:&lt;/b&gt; Boost your nested loop logic and conditional reasoning by generating numerical sequences based on parity&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; id=&quot;p-rc_6439adc09dc568f2-557&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites:&lt;/b&gt; Knowledge of basic &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;45&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;, and &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;5,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; statements&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Final Output&lt;/h3&gt;&lt;p data-path-to-node=&quot;7&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an input of &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;7&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;rows = 5&lt;/code&gt;, the program generates:&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-118 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-118 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ1gM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_abaf9e0a2f22ec62&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_6439adc09dc568f2&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-118&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-118&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-118 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-118 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-118&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-118&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 4
2 4 6
2 4 6 8
2 4 6 8 10
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;10,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;10,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Problem Statement&lt;/h3&gt;&lt;p data-path-to-node=&quot;12&quot; id=&quot;p-rc_6439adc09dc568f2-558&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Write a C program that accepts an integer &lt;code data-index-in-node=&quot;42&quot; data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt; representing the total number of rows&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. The program must output a right-angled triangle where the &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;60&quot; data-math=&quot;i^{\text{th}}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;ith&lt;/span&gt;&amp;nbsp;row contains the first &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;97&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;even numbers&lt;/span&gt;&lt;span data-path-to-node=&quot;12,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Analysis &amp;amp; Dynamic Logic&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_6439adc09dc568f2-559&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Rows (Outer Loop):&lt;/b&gt; Runs from &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/code&gt; to &lt;code data-index-in-node=&quot;38&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_6439adc09dc568f2-560&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Columns (Inner Loop):&lt;/b&gt; Runs from &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/code&gt; to &lt;code data-index-in-node=&quot;41&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,2,0&quot; id=&quot;p-rc_6439adc09dc568f2-561&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional Logic:&lt;/b&gt; A number is even if it is divisible by &lt;code data-index-in-node=&quot;58&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/code&gt; (&lt;code data-index-in-node=&quot;61&quot; data-path-to-node=&quot;14,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;number % 2 == 0&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. To print even numbers sequentially, we track a counter initialized to &lt;code data-index-in-node=&quot;72&quot; data-path-to-node=&quot;14,2,0,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/code&gt; and increment it by &lt;code data-index-in-node=&quot;94&quot; data-path-to-node=&quot;14,2,0,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/code&gt; for each printed value, or evaluate column indices directly&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,2,0,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;15&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Algorithm&lt;/h3&gt;&lt;ol data-path-to-node=&quot;16&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_6439adc09dc568f2-562&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prompt the user to enter the total number of rows (&lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_6439adc09dc568f2-563&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Execute an outer loop with control variable &lt;code data-index-in-node=&quot;44&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; running from &lt;code data-index-in-node=&quot;59&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_6439adc09dc568f2-564&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inside the outer loop, execute an inner loop with control variable &lt;code data-index-in-node=&quot;67&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt; running from &lt;code data-index-in-node=&quot;82&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/code&gt; to &lt;code data-index-in-node=&quot;87&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,3,0&quot; id=&quot;p-rc_6439adc09dc568f2-565&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Calculate the even number to print using the formula: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;54&quot; data-math=&quot;\text{val} = 2 \times j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;val = 2 * j&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,4,0&quot; id=&quot;p-rc_6439adc09dc568f2-566&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print &lt;code data-index-in-node=&quot;6&quot; data-path-to-node=&quot;16,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;val&lt;/code&gt; followed by a space&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,5,0&quot; id=&quot;p-rc_6439adc09dc568f2-567&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Print a newline character (&lt;code data-index-in-node=&quot;27&quot; data-path-to-node=&quot;16,5,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\n&lt;/code&gt;) after completing each row&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,5,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;18,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-119 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-119 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ4QM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_abaf9e0a2f22ec62&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_6439adc09dc568f2&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-119&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-119&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-119 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-119&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-119&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n;

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Prompt user for input&lt;/span&gt;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Please enter a valid positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Outer loop for rows&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Inner loop for columns in row &#39;i&#39;&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print the j-th even number&lt;/span&gt;
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d &quot;&lt;/span&gt;, &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * j);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Move to the next line after finishing the row&lt;/span&gt;
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;20,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line-by-Line Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_6439adc09dc568f2-568&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (scanf(&quot;%d&quot;, &amp;amp;n) != 1 || n &amp;lt;= 0)&lt;/code&gt;&lt;/b&gt;: Performs input validation to catch non-integer inputs or non-positive integers&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_6439adc09dc568f2-569&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = 1; i &amp;lt;= n; i++)&lt;/code&gt;&lt;/b&gt;: Controls the row progression&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_6439adc09dc568f2-570&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int j = 1; j &amp;lt;= i; j++)&lt;/code&gt;&lt;/b&gt;: Ensures row &lt;code data-index-in-node=&quot;42&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; contains exactly &lt;code data-index-in-node=&quot;61&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; numbers&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_6439adc09dc568f2-571&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%d &quot;, 2 * j);&lt;/code&gt;&lt;/b&gt;: Computes the even sequence directly without extra variables&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_6439adc09dc568f2-572&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt;&lt;/b&gt;: Resets the cursor to the next line for subsequent rows&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling &amp;amp; Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;h3 data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Sample Run&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-121 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block ng-tns-c4199039635-121 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwii2Y24r8CWAxUAAAAAHQAAAAAQ6AM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_abaf9e0a2f22ec62&amp;quot;,&amp;quot;c_ef23d084d862b645&amp;quot;,null,&amp;quot;rc_6439adc09dc568f2&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c4199039635-121&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;animated-opacity ng-tns-c4199039635-121&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c4199039635-121 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;buttons ng-tns-c4199039635-121 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 4&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;ng-tns-c4199039635-121&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c4199039635=&quot;&quot; class=&quot;code-container formatted ng-tns-c4199039635-121&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 
2 4 
2 4 6 
2 4 6 8 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Variations &amp;amp; Challenges&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_6439adc09dc568f2-573&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Odd Numbers Pyramid:&lt;/b&gt; Modify &lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 * j&lt;/code&gt; to &lt;code data-index-in-node=&quot;37&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(2 * j) - 1&lt;/code&gt; to generate odd numerical triangles&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_6439adc09dc568f2-574&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Alternating Parity:&lt;/b&gt; Print even numbers on even rows and odd numbers on odd rows by evaluating &lt;code data-index-in-node=&quot;94&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (i % 2 == 0)&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,2,0&quot; id=&quot;p-rc_6439adc09dc568f2-575&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inverted Form:&lt;/b&gt; Reverse the outer loop (&lt;code data-index-in-node=&quot;39&quot; data-path-to-node=&quot;30,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (int i = n; i &amp;gt;= 1; i--)&lt;/code&gt;) to output an inverted conditional pattern&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;32,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;32,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;33&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,0,0&quot; id=&quot;p-rc_6439adc09dc568f2-576&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Newline:&lt;/b&gt; Forgetting &lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;33,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; causes all values to render on a single line&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,1,0&quot; id=&quot;p-rc_6439adc09dc568f2-577&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Off-by-One Errors:&lt;/b&gt; Ensure your inner loop condition is &lt;code data-index-in-node=&quot;55&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j &amp;lt;= i&lt;/code&gt; rather than &lt;code data-index-in-node=&quot;74&quot; data-path-to-node=&quot;33,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j &amp;lt; i&lt;/code&gt; to avoid missing the final column of each row&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;33,2,0&quot; id=&quot;p-rc_6439adc09dc568f2-578&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;33,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Resetting Counters:&lt;/b&gt; If using a separate variable for the numbers, reset or recalculate it correctly inside the row loop&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;33,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;35,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;35,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;ul data-path-to-node=&quot;36&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,0,0&quot; id=&quot;p-rc_6439adc09dc568f2-579&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;\mathcal{O}(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(n^2)&lt;/span&gt;&amp;nbsp;due to nested outer and inner loops executing &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;80&quot; data-math=&quot;n(n+1)/2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n(n+1)/2&lt;/span&gt;&amp;nbsp;iterations&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;36,1,0&quot; id=&quot;p-rc_6439adc09dc568f2-580&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity:&lt;/b&gt; &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;\mathcal{O}(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;{O}(1)&lt;/span&gt;&amp;nbsp;as memory usage remains constant regardless of &lt;code data-index-in-node=&quot;80&quot; data-path-to-node=&quot;36,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;36,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;38&quot; id=&quot;p-rc_6439adc09dc568f2-581&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;38,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering conditional statements inside nested loops makes it much easier to handle more complex symmetric and alphabet-based patterns&lt;/span&gt;&lt;span data-path-to-node=&quot;38,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;38,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c652880515=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c652880515=&quot;&quot; _nghost-ng-c3947949641=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_6439adc09dc568f2-582&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Have you tried printing an alternating even/odd triangle? Share your solution in the comments below&lt;/span&gt;&lt;span data-path-to-node=&quot;39,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c4109436689=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c4109436689=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;!&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;39&quot; id=&quot;p-rc_6439adc09dc568f2-582&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;39,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/8989841159693312034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-right-angled-triangle-of-even-numbers-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8989841159693312034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/8989841159693312034'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/printing-right-angled-triangle-of-even-numbers-in-c.html' title='Printing Right-Angled Triangle of Even Numbers in C | Conditional Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-2333317670222295911</id><published>2026-09-06T00:00:00.000+05:30</published><updated>2026-09-06T00:00:00.216+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>The Sky Is Not the Limit: 5 Surprising Ways Drones are Rewriting the Rules of Delivery</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw0NVOechbd6yhjfOB8ZloupVZMjshnxo1K0g-rtYK7vzI6y1-oevJN5L4y9S_0Jw83UdMNV7FKIY0nP-kALLCZYk5nLhSrLeoZlkK4iX7ceAls69iQ4-OAdJa3MKhZoUnYLMprvYKFHLjz1U1asW94db7weWtadCiISjjs1FMtWtcxm5d-0aH-Gkutsc/s1408/drone-based-delivery-services-Im01.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;The Sky Is Not the Limit: 5 Surprising Ways Drones are Rewriting the Rules of Delivery&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw0NVOechbd6yhjfOB8ZloupVZMjshnxo1K0g-rtYK7vzI6y1-oevJN5L4y9S_0Jw83UdMNV7FKIY0nP-kALLCZYk5nLhSrLeoZlkK4iX7ceAls69iQ4-OAdJa3MKhZoUnYLMprvYKFHLjz1U1asW94db7weWtadCiISjjs1FMtWtcxm5d-0aH-Gkutsc/w400-h219/drone-based-delivery-services-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Introduction: The Impending Shift in Our Skies&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Look down at any city street and you see the friction of a legacy system: exhaust-choked, gridlocked arteries struggling under the weight of &quot;last-mile&quot; logistics. Now, look up. We are witnessing a fundamental paradigm shift as the silent, electric precision of the skyway begins to replace the rumble of the delivery truck. While many still view Unmanned Aerial Vehicles (UAVs) as high-tech gadgets, they are rapidly maturing into the backbone of a new economic infrastructure. This transition represents a leap from earthbound constraints to a ubiquitous, autonomous network that functions anytime and anywhere, redefining the very nature of how goods move through our world.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;1. The &quot;Under Five Pound&quot; Paradox&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;There is a common misconception that drones are &quot;waiting to grow up&quot; before they can truly disrupt logistics. Skeptics point to current weight limitations as a hurdle, but the data suggests otherwise. This isn&#39;t a limitation; it’s a sweet spot for market dominance.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;By mastering the light-payload segment, drones are hollowing out the most profitable, high-frequency sector of the market. While incumbent logistics players are tethered to heavy-trucking infrastructure, drones are perfectly calibrated for the modern consumer&#39;s &quot;right now&quot; mentality, enabling premium models like Uber Eats&#39; priority delivery without the overhead of a ground vehicle.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&quot;Amazon claims that 86% of their deliveries are under five pounds.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;This paradox reveals that drones don&#39;t need to carry sofas to win. By capturing nearly 90% of the retail volume, they are rendering traditional van-based delivery for small items an obsolete, expensive relic.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;2. Labor Efficiency: From Drivers to &quot;Fleet Supervisors&quot;&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The economic engine of this shift is a total inversion of labor dynamics. Traditional delivery is trapped in a 1:1 ratio—one driver per vehicle. Drone technology shatters this tether. We are moving from the steering wheel to the multi-screen monitoring station, where the human element evolves from a laborer into a high-level &quot;Fleet Supervisor.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;In this model, autonomous systems handle the navigation while a human monitor provides the oversight. This allows a single employee to manage an entire swarm of drones simultaneously, mimicking the high-stakes efficiency of commercial air traffic control.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&quot;Like an air traffic controller on commercial passenger planes, one employee would typically be able to keep an eye on several flights simultaneously.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The financial implications are transformative. With operating costs estimated to be 70% lower than traditional van deliveries, the cost of a single drone drop-off is roughly a third of what a provider like UPS charges for ground service. This is not incremental improvement; it is a total economic restructuring.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;3. &lt;b&gt;The Physics of the Shortcut: Frictionless Routing&lt;/b&gt;&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Air travel is the ultimate shortcut because the Z-axis eliminates the friction of the terrestrial world.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Ground deliveries are forced to navigate a rigid, inefficient grid of stoplights and traffic. Drones operate on a point-to-point basis through a sophisticated skyway network defined by precise line segments and nodes. This is more than a speed boost—it is a fundamental change in resource allocation.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Natural geography—rivers, canyons, and urban sprawl—which once dictated the speed of commerce, is rendered irrelevant. By bypassing infrastructure-poor areas and navigating over difficult terrain in a straight line, drones achieve near-perfect routing efficiency. The &quot;shortcut&quot; is now a permanent feature of the logistics landscape.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;4. A Surprising Shield: Safety Beyond the Pandemic&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;While the global pandemic made &quot;contactless&quot; delivery a necessity, the long-term benefit of drone delivery is the creation of a &quot;surprising shield&quot; for the consumer. This is a move toward frictionless human interaction that addresses deep-seated safety and psychological needs often ignored in technical debates.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Drone delivery allows for the total reclaiming of the privacy of the home. It eliminates the threat of &quot;imposter delivery drivers&quot; and provides a vital service for those who experience social anxiety. By removing the face-to-face requirement, we are not just moving boxes; we are providing a layer of security and psychological comfort that traditional delivery can never replicate.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;5. The 2030 Milestone: One-Third of the Sky&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The trajectory toward 2030 is already locked in, fueled by a Compound Annual Growth Rate (CAGR) of 14.5%. This growth is inevitable because the velocity of drone technology is simply unmatched. Alphabet’s Wing is already operating at speeds of 113 km/h, while Amazon Prime Air targets a 30-minute delivery window.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&quot;Drones may be responsible for one-third of same-day deliveries by 2030, according to a recent study.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As these systems scale, the 70% reduction in operating costs will force every major logistics firm to adapt or disappear. The quiet skies of the early 2020s were merely the testing ground for a decade of total atmospheric integration.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Conclusion: Navigating the New Skyway&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As we approach the 2030 milestone, the advantages of drone delivery move from &quot;optional&quot; to &quot;mandatory.&quot; The carbon gains achieved by shifting from fuel-heavy vans to electric UAVs are no longer just a corporate social responsibility goal—they are a prerequisite for 2030 logistics.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;This shift will fundamentally rewrite the visual and functional architecture of our lives. As the skyway network of line segments and nodes matures, we must prepare for a world where the hum of electric rotors replaces the rumble of trucks. Ask yourself: how will our homes evolve when our front porches are replaced by landing nodes, and the skyway becomes our most essential transit layer?&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/2333317670222295911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/drone-based-delivery-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/2333317670222295911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/2333317670222295911'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/drone-based-delivery-services.html' title='The Sky Is Not the Limit: 5 Surprising Ways Drones are Rewriting the Rules of Delivery'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw0NVOechbd6yhjfOB8ZloupVZMjshnxo1K0g-rtYK7vzI6y1-oevJN5L4y9S_0Jw83UdMNV7FKIY0nP-kALLCZYk5nLhSrLeoZlkK4iX7ceAls69iQ4-OAdJa3MKhZoUnYLMprvYKFHLjz1U1asW94db7weWtadCiISjjs1FMtWtcxm5d-0aH-Gkutsc/s72-w400-h219-c/drone-based-delivery-services-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-5503922743230450374</id><published>2026-09-05T00:00:00.000+05:30</published><updated>2026-09-05T00:00:00.225+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>Don’t Crash Your Vision: 7 Critical Drone Mistakes Every Creator Must Avoid</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1dIzBX312PRVYaxI6efg1JLQfgMckksN4EvTQULIErWCjKo56apjTWvQen4COr27_A7I2yYGWwE8S4JMXq4icdarDNfko69pij0mwYCzfj0lymzSTuIVGq_-qPCfgRGOL56cRKMabq7tI5JwgEM88xQu961q9zs8LEAnL1TOrlW3otm1-iMXy3hpsoTK8/s1408/common-drone-photography-and-videography-mistakes-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Don’t Crash Your Vision: 7 Critical Drone Mistakes Every Creator Must Avoid&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1dIzBX312PRVYaxI6efg1JLQfgMckksN4EvTQULIErWCjKo56apjTWvQen4COr27_A7I2yYGWwE8S4JMXq4icdarDNfko69pij0mwYCzfj0lymzSTuIVGq_-qPCfgRGOL56cRKMabq7tI5JwgEM88xQu961q9zs8LEAnL1TOrlW3otm1-iMXy3hpsoTK8/w400-h219/common-drone-photography-and-videography-mistakes-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The era of aerial cinematography has brought a sense of wonder back to the visual arts, offering breathtaking perspectives that were once the exclusive domain of Hollywood studios and high-budget helicopter crews. Today, the ability to showcase the vastness of a mountain range or the intricate geometry of a city from above is at the fingertips of every creator. This &quot;magic&quot; allows us to tell stories with a scope and scale that was previously unimaginable for the independent filmmaker.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;However, as a professional safety specialist, Experts have seen how quickly that magic can dissipate. A single technical oversight or a brief lapse in regulatory judgment can instantly transform a high-stakes shoot into a legal or financial nightmare. Operating a drone is a sophisticated intersection of artistry and aviation; neglecting the latter doesn&#39;t just risk your gear—it risks your career and public safety.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;The Legal Blindspot: Ignoring Local Regulations&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Drone operation is not a casual hobby; it is a regulated aviation activity. Airspace is a shared public resource, and regulations regarding altitude, no-fly zones, and proximity to people are meticulously designed to protect that resource. When a creator ignores these rules, they aren&#39;t just risking a fine; they are failing the ethical obligation to respect the privacy and safety of the community below.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Non-compliance can lead to severe repercussions, including drone confiscation or criminal charges. The most critical danger, however, is the interference with manned aircraft. Flying near flight paths or airports creates a direct risk of mid-air collision.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;The consequences of such incidents can be catastrophic, so strict compliance is crucial.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;The &quot;Ghost in the Machine&quot;: Neglecting Compass Calibration&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The drone’s internal compass is its only way of understanding its orientation relative to the Earth’s magnetic field. If this sensor provides inaccurate data to the flight controller, the aircraft essentially &quot;loses its mind.&quot; This leads to the most terrifying experience a pilot can have: the &quot;flyaway.&quot; This occurs when the drone stops responding to control inputs and begins moving in an unpredictable, unrecoverable direction.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The specific risks of a miscalibrated compass include:&lt;/b&gt;&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Erratic Drift:&lt;/b&gt; The inability to maintain a steady hover, even in calm conditions.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;RTH Failure:&lt;/b&gt; The &quot;Return-to-Home&quot; function may lead the drone away from the pilot rather than back to safety.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;GPS Instability:&lt;/b&gt; Inaccurate heading data compromises the precision of GPS waypoints and flight paths.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Sudden Directional Changes:&lt;/b&gt; Unintended veering that can lead to immediate collisions with obstacles.&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Nature’s Stealth Battery Killer: Weather Oversights&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Weather is the ultimate arbiter of flight safety. While it may feel calm on the ground, wind speeds at higher altitudes are often significantly more intense. Sudden gusts can destabilize the aircraft and cause it to veer off course, leading to a loss of control. Furthermore, cold weather acts as a stealth power drain; low temperatures cause LiPo batteries to deplete far more rapidly than anticipated, which can lead to unexpected power failure mid-flight.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Moisture is equally dangerous. Most drones are not waterproof, and exposure to rain or fog can be terminal. As a safety specialist, Experts must emphasize that moisture doesn&#39;t just short out a motor; it can interfere specifically with the drone&#39;s &lt;b&gt;communication systems&lt;/b&gt;, leading to a total loss of signal.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;Flying in the rain or snow can damage sensitive electronic components, motors, and the camera gimbal.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;The Power Trap: Mismanaging Battery Levels&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Pushing a battery to its absolute limit is a mistake that carries a high financial and creative cost. When power hits a critical threshold, the flight controller may trigger a forced landing. If you are over water or far from home, the drone is effectively lost. Beyond the risk of a crash, frequently discharging lithium-polymer (LiPo) cells to their lowest levels causes permanent chemical degradation, significantly shortening the lifespan of your expensive batteries.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Pro Tip: Always land before critical levels to save your data and your battery life.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Landing with a safety margin also protects your creative work. If a drone loses power before the recording is stopped, the video file may not close properly, resulting in corrupted, unsaved footage and the loss of your best shots.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;The Range Fallacy: Flying Too Far or Too High&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The temptation to see &quot;just a little further&quot; often leads creators into the trap of flying Beyond Visual Line of Sight (BVLOS). When you lose sight of the aircraft, you lose your &quot;situational awareness.&quot; The camera’s field of view is narrow; it cannot see the power lines, trees, or other aircraft approaching from the sides or above.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The Signal-to-Safety Ratio&lt;/b&gt; As distance and altitude increase, the strength of your remote control signal diminishes. Increased altitude also raises the risk of signal interference, which can make the drone unresponsive to commands. Furthermore, flying too high encroaches into controlled airspace, where the risk of colliding with helicopters or airplanes becomes a life-threatening reality.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;The Amateur’s Shortcut: Skipping Pre-Flight Checks&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The difference between a hobbyist and a professional is discipline. A professional aerial cinematographer treats every flight with the same rigor as a commercial pilot. Just as a commercial aviator would never take off with a questionable engine or outdated navigation charts, a drone pilot must never fly with compromised hardware or software. Rigorous checks are the only way to ensure flight behavior remains predictable.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Essential Technical Checklist:&lt;/b&gt;&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Propellers:&lt;/b&gt; Inspect for cracks, chips, or any loss of structural integrity.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Firmware:&lt;/b&gt; Ensure the aircraft, remote, and batteries are running the latest stable software to prevent system instability.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Sensors:&lt;/b&gt; Verify that GPS and obstacle-sensing systems are fully functional and calibrated.&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Conclusion: The Future of Aerial Excellence&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As technology evolves and drones like the &lt;b&gt;DJI Mini 4K&lt;/b&gt;, the &lt;b&gt;DJI Neo&lt;/b&gt;, and the &lt;b&gt;Ruko F11PRO 2 Plus&lt;/b&gt; make aerial imaging more accessible than ever, the responsibility of the pilot grows. Accessibility is not an excuse for negligence. The ability to capture &quot;the perfect shot&quot; is a privilege that depends entirely on your commitment to maintaining the integrity of your equipment and the safety of the public.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;In the fast-moving world of aerial production, the most successful creators are those who balance creative ambition with technical discipline. Before your next takeoff, ask yourself: Is the shot you are chasing worth the risk of a preventable disaster?&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/5503922743230450374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/common-drone-photography-and-videography-mistakes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/5503922743230450374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/5503922743230450374'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/common-drone-photography-and-videography-mistakes.html' title='Don’t Crash Your Vision: 7 Critical Drone Mistakes Every Creator Must Avoid'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1dIzBX312PRVYaxI6efg1JLQfgMckksN4EvTQULIErWCjKo56apjTWvQen4COr27_A7I2yYGWwE8S4JMXq4icdarDNfko69pij0mwYCzfj0lymzSTuIVGq_-qPCfgRGOL56cRKMabq7tI5JwgEM88xQu961q9zs8LEAnL1TOrlW3otm1-iMXy3hpsoTK8/s72-w400-h219-c/common-drone-photography-and-videography-mistakes-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-3482378623972829499</id><published>2026-09-04T00:00:00.000+05:30</published><updated>2026-09-04T00:00:00.113+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>The Invisible Risks in Your Sky: Why Drone Security is the Next Great Privacy Battleground</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkSAp6UGS1NqsiN-dh_f9RwwJ56QZuuxkhoymai1Aj0nYPTgXosaV3daYAwjqZPQFUOkkTRo_mZP8c8XhhG0bBCiJv_x7nWSXGarctaIUMRSbom2sljq2kyZiNZcBqWjeaipVajj6OmX27qIfZnR7MSmkoQBSTZ8iUBP0Uv2C1jEu0WzrpVzXR9bqbccc1/s1408/ensuring-security-in-drones-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;The Invisible Risks in Your Sky: Why Drone Security is the Next Great Privacy Battleground&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkSAp6UGS1NqsiN-dh_f9RwwJ56QZuuxkhoymai1Aj0nYPTgXosaV3daYAwjqZPQFUOkkTRo_mZP8c8XhhG0bBCiJv_x7nWSXGarctaIUMRSbom2sljq2kyZiNZcBqWjeaipVajj6OmX27qIfZnR7MSmkoQBSTZ8iUBP0Uv2C1jEu0WzrpVzXR9bqbccc1/w400-h219/ensuring-security-in-drones-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Introduction: The Unseen Companion&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;In recent years, Unmanned Aerial Systems (UAS) have transitioned from niche hobbyist toys to indispensable tools across commercial, governmental, and personal sectors. We see them inspecting critical infrastructure, streamlining logistics, and capturing high-definition aerial perspectives with unprecedented efficiency. Yet, as these platforms become persistent features of our lower airspace, a critical question of Relatable Curiosity emerges: are these flying computers as secure as they are convenient? While the opportunities for innovation are vast, these devices harbor significant technical vulnerabilities. If left unaddressed, these architectural weaknesses could compromise not just digital privacy, but the very physical safety of the environments they navigate.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Takeaway 1: When Hacking Becomes a Matter of Life and Death&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;A compromised drone is far more than a localized technical glitch; it represents a fundamental breach of mission integrity with potentially catastrophic outcomes. In search and rescue operations, where data reliability is the cornerstone of survival, a threat actor tampering with a drone’s feed could inject misinformation—falsifying locations or delaying response times through artificial sensor noise. This compromise of data integrity transforms a lifesaving tool into a liability, where &quot;misinformation&quot; is as dangerous as a mechanical failure.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;On the national security front, the stakes escalate from civil safety to strategic jeopardy. The infiltration of high-value assets by an adversary can lead to a cascading failure of broader security frameworks, turning reconnaissance tools against their operators.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;Infiltrating large combat drones could jeopardize critical intelligence and compromise operational security, posing a significant threat to national security.&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Takeaway 2: The &quot;Indiscriminate&quot; Eye in the Sky&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The pervasive integration of UAS technology introduces a profound tension between public utility and individual consent. Governments utilize these platforms for wide-area monitoring, a practice that frequently results in the &quot;indiscriminate&quot; filming of citizens. This creates a persistent conflict between the operational efficiency of the state and the civil liberties of the individual. As surveillance becomes more autonomous, the line between &quot;oversight&quot; and &quot;intrusion&quot; continues to blur.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The risk is equally pervasive in the commercial sector. E-commerce leaders, such as Amazon, utilize drones for logistics and delivery, effectively creating a mobile data-collection infrastructure that may inadvertently expose sensitive consumer information. Even during routine personal flights, drones can capture and store data on bystanders without their knowledge. This highlights a reality where privacy risks are not merely accidental but inherent to the current state of drone technology, necessitating a shift in how we approach individual consent in the age of the overhead eye.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Takeaway 3: The Return-to-Home &quot;Safety Net&quot;&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;One of the most effective tactical strategies for mitigating both physical loss and data exposure is the &quot;Return to Home&quot; (RTH) protocol. Far from a mere convenience for the pilot, this feature acts as an essential autonomous failsafe. The protocol is designed to trigger instantly upon the loss of a command link or the detection of a digital security breach, mandating that the aircraft return to a pre-determined, secure geographic coordinate.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;By prioritizing this safety net, operators can prevent unauthorized threat actors from gaining physical access to the hardware or its onboard storage. In an environment where a drone might find itself in &quot;hostile&quot; digital territory—subjected to signal jamming or spoofing—the RTH feature ensures that the device and the sensitive data it carries remain within the control of the authorized entity, effectively neutralizing the risk of a &quot;man-in-the-middle&quot; or hijacking attempt leading to hardware capture.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Takeaway 4: Fortifying the Digital Uplink&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Securing the sky requires more than just flight safety; it demands a robust hardening of the digital signals connecting the ground station to the aircraft. To increase resilience against sophisticated threat actors, the following technical layers must be systematically applied:&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Regular Software Updates:&lt;/b&gt; These patches serve as the primary defensive line against zero-day exploits and known vulnerabilities that allow for remote hijacking of the flight controller.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;VPNs and Encryption Protocols:&lt;/b&gt; Implementing these standards fortifies communication channels against man-in-the-middle (MITM) attacks, ensuring that intercepted data transmissions remain unreadable to unauthorized entities.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Systematic Data Backups:&lt;/b&gt; Establishing a routine for data preservation ensures the integrity and availability of critical mission information even if the physical asset is lost or the primary system is compromised.&lt;/li&gt;&lt;/ul&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Takeaway 5: Security as a Collaborative Responsibility&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Maintaining the security of the global UAS fleet is not a burden that rests solely on the individual pilot. It requires a concerted, multifaceted effort that aligns industry stakeholders, policymakers, and cybersecurity experts toward a common standard of resilience. Only through this collective vigilance can we address emerging threats and foster an environment where technology and trust can coexist.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;Prioritizing security remains indispensable in fostering trust, protecting privacy, and maximizing the societal benefits of this groundbreaking technology.&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Conclusion: A Sky Built on Trust&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As drones continue to evolve and diversify—transforming from lightweight consumer gadgets into massive, autonomous industrial assets—security must remain the foundational priority. To ensure these machines remain invaluable assets rather than liabilities, the industry must take a proactive stance on vulnerability management. The future of our airspace depends on the ability of all stakeholders to uphold the highest possible safety and privacy standards.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As drones become as common as delivery trucks or handheld cameras, are we prepared to trade our overhead privacy for the convenience of the skies?&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/3482378623972829499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/ensuring-security-in-drones.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3482378623972829499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3482378623972829499'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/ensuring-security-in-drones.html' title='The Invisible Risks in Your Sky: Why Drone Security is the Next Great Privacy Battleground'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkSAp6UGS1NqsiN-dh_f9RwwJ56QZuuxkhoymai1Aj0nYPTgXosaV3daYAwjqZPQFUOkkTRo_mZP8c8XhhG0bBCiJv_x7nWSXGarctaIUMRSbom2sljq2kyZiNZcBqWjeaipVajj6OmX27qIfZnR7MSmkoQBSTZ8iUBP0Uv2C1jEu0WzrpVzXR9bqbccc1/s72-w400-h219-c/ensuring-security-in-drones-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-1317336823155794353</id><published>2026-09-03T00:00:00.000+05:30</published><updated>2026-09-03T00:00:00.219+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>Why the Sky is the New Frontier for Sustainable Farming (Drones in Agriculture)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFDW4_VdHfDWawTCpRtBzemqDh_mA3kFp948UXfldsLMywny_vVRvsAPhCEbHwRySjBmJJ4Mby2PpchvTUyNqQw6Ti0k9T_o9BCRDmdZQgaH6hSKKNLckeuVvQpegicOcBiIHOI8YvQm6XTU23BIQaZZ_2dOg3GF_7VVTbkn4RyAE9FBGXMY39HHjpBFrz/s1408/drones-in-agriculture-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Why the Sky is the New Frontier for Sustainable Farming (Drones in Agriculture)&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFDW4_VdHfDWawTCpRtBzemqDh_mA3kFp948UXfldsLMywny_vVRvsAPhCEbHwRySjBmJJ4Mby2PpchvTUyNqQw6Ti0k9T_o9BCRDmdZQgaH6hSKKNLckeuVvQpegicOcBiIHOI8YvQm6XTU23BIQaZZ_2dOg3GF_7VVTbkn4RyAE9FBGXMY39HHjpBFrz/w400-h219/drones-in-agriculture-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Introduction: The Silent Revolution Above Our Fields&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;With the global population booming, the agricultural sector is under unprecedented pressure to deliver high-performance yields while maintaining environmental integrity. Today, agriculture sustains over 60 percent of the world’s population, making it the non-negotiable bedrock of our survival. However, we have reached the limits of traditional manual labor. To feed our future without exhausting our planet, the transition from hand-toiling to high-tech automation is no longer a luxury—it is a moral and logistical imperative.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;We are witnessing a paradigm shift where technology once reserved for hobbyists and aerial photographers is now solving the most dangerous problems in the food supply chain. Unmanned aerial vehicles (UAVs) have transitioned from sky-high toys to the vanguard of the global farm, launching a silent revolution a few meters above our crops.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The End of &quot;High-Risk&quot; Spraying&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;We are witnessing the end of the frontline chemical exposure era—a transition where the safety of the worker is guaranteed by the flight of the machine. For decades, manual pesticide application has been a standard but hazardous necessity. Field workers tasked with these duties have historically faced severe health threats, with direct exposure linked to tumors, hypersensitivity, and chronic allergies.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Drones act as a &quot;safety shield,&quot; physically decoupling human health from chemical dispersal. By automating these high-risk tasks, we aren&#39;t just improving efficiency; we are prioritizing the human right to a safe working environment. As noted in a recent &lt;b&gt;RoboticsBiz&lt;/b&gt; editorial:&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;Traditionally, the manual application of pesticides and fertilizers posed serious health risks to agricultural workers, including tumors, hypersensitivity, allergies, and other illnesses. ... To meet the escalating demand for food, agricultural modernization becomes imperative.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The 90% Efficiency Jump You Didn&#39;t See Coming&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Drones represent more than just a faster way to spray; they offer a level of resource intelligence that was previously science fiction. This isn&#39;t just about hardware; it&#39;s about the democratization of AgTech. By utilizing accessible computing power like &lt;b&gt;Raspberry Pi&lt;/b&gt; and the &lt;b&gt;Python&lt;/b&gt; programming language, researchers are building industrial-grade efficiency into cost-effective platforms.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Key research, such as the work conducted by &lt;b&gt;Yallappa&lt;/b&gt;, has focused on optimizing hexacopter UAVs to carry significant volumes of liquid while enduring extended operational periods. This synthesis of open-source software and robust hardware is driving a massive reduction in waste:&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Water usage savings:&lt;/b&gt; Ranging from 20% to 90% compared to traditional methods.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Chemical consumption reductions:&lt;/b&gt; Projected savings of 20% to 90% through targeted delivery.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Labor cost decreases:&lt;/b&gt; Significant reductions (up to 90%) in the man-hours required for field treatment.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Universal Dispensers: Not Just for Liquids Anymore&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The modern agricultural drone is a multi-modal toolkit designed for the entire lifecycle of a crop. The &quot;universal sprayer&quot; is a true game-changer, providing the flexibility to navigate diverse and difficult agricultural terrains that would leave heavy ground machinery stuck in the mud.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;These systems are no longer limited to liquid mists. Modern UAVs can dispense both liquid and solid contents, meaning a single platform can transition from spraying liquid pesticides to distributing granular solid fertilizers across a varied landscape. For the farmer, this flexibility means the drone is an essential partner from the first seed-feeding to the final protective spray before harvest.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Precision via Autopilot: The Death of Over-Spraying&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Human error in the field—the &quot;missed spot&quot; or the &quot;double-sprayed row&quot;—is a leading cause of chemical runoff and financial waste. Autonomous navigation via GPS technology is effectively killing off the era of over-spraying.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;A sophisticated technical stack, including autopilot controllers, RF transmitters, and precision motors, allows these machines to follow optimized flight paths with robotic consistency. Research led by &lt;b&gt;Dongyan&lt;/b&gt; has been instrumental in this leap, focusing on &quot;swath width&quot; and &quot;droplet distribution uniformity.&quot; By perfecting how droplets land on the leaf, these autonomous systems ensure that every square inch of the field receives the exact dosage required—nothing more, nothing less.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Conclusion: Farming at the Speed of Flight&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The integration of drones into our fields is a manifesto for the future of food. We are moving toward an era of environmental stewardship where robotics serve as the primary guardians of our nature. By mitigating human health risks and enabling a surgical level of resource management, we are finally modernizing farming to meet the needs of a crowded, resource-conscious world.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As these autonomous sentinels become a permanent fixture of our horizon, we must ask: How will our relationship with the land change when the primary hands tending our food are made of silicon and carbon fiber?&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/1317336823155794353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/drones-in-agriculture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1317336823155794353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1317336823155794353'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/drones-in-agriculture.html' title='Why the Sky is the New Frontier for Sustainable Farming (Drones in Agriculture)'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFDW4_VdHfDWawTCpRtBzemqDh_mA3kFp948UXfldsLMywny_vVRvsAPhCEbHwRySjBmJJ4Mby2PpchvTUyNqQw6Ti0k9T_o9BCRDmdZQgaH6hSKKNLckeuVvQpegicOcBiIHOI8YvQm6XTU23BIQaZZ_2dOg3GF_7VVTbkn4RyAE9FBGXMY39HHjpBFrz/s72-w400-h219-c/drones-in-agriculture-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-1553880587173003031</id><published>2026-09-02T00:00:00.000+05:30</published><updated>2026-09-02T00:00:00.209+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>Beyond Human Reflexes: 5 Ways Autonomous Drone Racing is Rewriting the Rules of AI</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA9cEM1jQ5sB5o1nt4q8_2t8sngErUIa1ubBBnPbPslknybxvT7UjWllZxVM7bkCw9SOvLVlj5Nyk2zjGT1vmV5C7qQswCu8UBxIOjv0fN0g6CXyaQOurNLxrUltMFpPBwefwT1dmkOps194rsE-cFIdzUDu_J9p_DjEX-gHtrAE_Lfl8bouEnEcf60Rns/s1408/autonomous-drone-racing-challenges-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Beyond Human Reflexes: 5 Ways Autonomous Drone Racing is Rewriting the Rules of AI&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA9cEM1jQ5sB5o1nt4q8_2t8sngErUIa1ubBBnPbPslknybxvT7UjWllZxVM7bkCw9SOvLVlj5Nyk2zjGT1vmV5C7qQswCu8UBxIOjv0fN0g6CXyaQOurNLxrUltMFpPBwefwT1dmkOps194rsE-cFIdzUDu_J9p_DjEX-gHtrAE_Lfl8bouEnEcf60Rns/w400-h219/autonomous-drone-racing-challenges-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;The Death of the Pilot&#39;s Seat&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;In traditional high-speed FPV racing, victory is a byproduct of raw human instinct. Pilots wear goggles to immerse themselves in a dizzying live stream, making split-second muscular adjustments to navigate gates at over 100 miles per hour. It is a sport defined by the limits of human biology and cognitive processing.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Today, that pilot’s seat is being systematically emptied by silicon and code. A new era of autonomous drone racing has arrived, forcing machines to handle the same chaotic decisions that humans once made through &quot;gut feeling.&quot; This shift isn&#39;t just about winning a trophy; it is a high-stakes stress test for the future of artificial intelligence.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;How does a machine replicate the instinct required to survive a high-velocity obstacle course? This exploration dives into the most surprising takeaways from this intersection of AI and speed, revealing how the racetrack has become a crucible for the next generation of robotics.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Takeaway 1: The Ultimate Stress Test for AI &quot;Senses&quot;&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The racetrack serves as a high-velocity crucible for stress-testing sensor fusion and algorithmic agility. For an autonomous system, it isn’t enough to be &quot;smart&quot;—the machine must process data at a rate that allows for near-instantaneous physical response. This sport requires the perfect convergence of computer vision, advanced robotics, and real-time control systems.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;These environments push AI beyond the safety of slow-moving laboratory settings. As the source material notes:&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;These races serve as a challenging benchmark for evaluating the capabilities of autonomous systems in real-time perception, planning, and control.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Unlike a self-driving car that might have seconds to identify a pedestrian, a racing drone operates on a millisecond budget. If the perception and planning algorithms experience even a minor lag, the resulting collision is immediate and catastrophic.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Takeaway 2: The Battle Against &quot;Motion Blur&quot; and High-Speed Blindness&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;One of the most grueling technical hurdles in autonomous flight is Visual-Inertial Odometry (VIO), the process of determining a drone&#39;s position in space. At racing speeds, traditional sensors often fail as the world becomes a smear of pixels. Low-texture environments and high dynamic range lighting can effectively &quot;blind&quot; a drone, leading to massive localization errors.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The solution is a radical shift in how machines capture motion: the use of event cameras. Unlike traditional cameras that capture frames, event cameras represent a fundamental change in sensor modality by only recording changes in brightness at each pixel. When paired with lightweight neural networks, these sensors allow drones to &quot;see&quot; through motion blur that would baffle a standard camera.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;There is a profound irony at play here: for a drone to achieve higher physical speeds, it must first learn to process visual information more efficiently. Computational speed has become the ultimate bottleneck for physical velocity. To go faster, the AI must learn how to do less work to understand more of its environment.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Takeaway 3: Replicating the &quot;Human Eye&quot; through Pure Vision&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Human pilots have historically held a distinct advantage because they can fly using nothing but a raw video stream. Replicating this ability—flying purely from visual inputs without the &quot;crutch&quot; of traditional inertial data or pre-mapped environments—is the great scientific frontier of modern robotics.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Moving away from rigid calculations toward &quot;pure vision&quot; requires the development of lifelong learning algorithms that mimic human spatial awareness. This isn&#39;t just an engineering challenge; it’s a shift toward a more fluid, instinctual form of computer vision. Bridging this gap remains a primary focus for researchers looking to move AI out of the lab and into the unpredictable real world.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Takeaway 4: The Game Theory of Multiplayer Chaos&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The difficulty of an autonomous race spikes exponentially when multiple intelligent agents are introduced to the course. In a multiplayer scenario, a drone is no longer just racing against the clock; it must anticipate the aggressive maneuvers of its rivals. This environment creates a frantic, high-speed puzzle of collision avoidance and strategic positioning.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;To survive this &quot;multiplayer chaos,&quot; developers are implementing sophisticated game-theoretic approaches. These models allow a drone to calculate the most likely path of an opponent and execute defensive or offensive maneuvers accordingly. These predictive algorithms are the secret sauce of the sport, proving that winning a race is as much about psychological strategy as it is about raw hardware performance.&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Takeaway 5: From the Racetrack to Disaster Zones&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The underlying technology developed for the racetrack is being engineered for high-stakes environments where human presence is impossible. The same precision used to clear a racing gate is essential for navigating the complex, collapsing structures often found in real-world emergencies.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Key use cases for racing-grade autonomy include:&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Disaster Response:&lt;/b&gt; Navigating ruined buildings to locate survivors where traditional GPS fails.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Search-and-Rescue:&lt;/b&gt; Rapidly scanning vast, difficult terrain with superhuman efficiency.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Infrastructure Inspection:&lt;/b&gt; Precisely checking the structural integrity of bridges and skyscrapers.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;However, moving from the track to the city requires overcoming hurdles like flight certification, environmental generalization, and safety guarantees. Despite these barriers, the impact is undeniable. As the source concludes:&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;The insights gained from this domain can revolutionize various industries, from disaster response to infrastructure inspection.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Conclusion: The Horizon of Autonomous Speed&lt;/h3&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The rapid evolution of autonomous racing is the result of a symbiotic relationship between academia and industry. Simulation tools like AirSim and FlightGoggles allow for millions of iterations without a single real-world crash, while competitions like the NeurIPS Game of Drones provide the ultimate proving ground for these methodologies.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;We are quickly approaching a tipping point where the machine will finally outpace the human pilot in every measurable category. When that happens, the innovations born on the racetrack will migrate into our daily lives, from delivery networks to emergency services. When the machine is faster and safer than the human, what does that mean for the future of our own mobility?&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/1553880587173003031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/autonomous-drone-racing-challenges.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1553880587173003031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1553880587173003031'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/autonomous-drone-racing-challenges.html' title='Beyond Human Reflexes: 5 Ways Autonomous Drone Racing is Rewriting the Rules of AI'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA9cEM1jQ5sB5o1nt4q8_2t8sngErUIa1ubBBnPbPslknybxvT7UjWllZxVM7bkCw9SOvLVlj5Nyk2zjGT1vmV5C7qQswCu8UBxIOjv0fN0g6CXyaQOurNLxrUltMFpPBwefwT1dmkOps194rsE-cFIdzUDu_J9p_DjEX-gHtrAE_Lfl8bouEnEcf60Rns/s72-w400-h219-c/autonomous-drone-racing-challenges-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-6482150967313981336</id><published>2026-09-01T00:00:00.000+05:30</published><updated>2026-09-01T00:00:00.219+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>The Stealth of the Ordinary: Why $100 Million Radars Can’t See a $500 Drone</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj85qFmZMpliKJJrMa91HTkQlTNmC5rH9nzE2K76duy1mg4EENvGZAi0gmI3TewbU_AbxpCCGhC5E5QTUFllczc3WyZ0AlFA6Upf-_g8Nf-7qQ4RKB1-2u4Q2xR1bVQPcZCCiXeRdQUp-daOVK5RLagBwtbBsh7OgSk-ucnWdNl5_YaZYsMmgPHJbBWHXlr/s1408/evolution-of-radar-technology-in-drone-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;The Stealth of the Ordinary: Why $100 Million Radars Can’t See a $500 Drone&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj85qFmZMpliKJJrMa91HTkQlTNmC5rH9nzE2K76duy1mg4EENvGZAi0gmI3TewbU_AbxpCCGhC5E5QTUFllczc3WyZ0AlFA6Upf-_g8Nf-7qQ4RKB1-2u4Q2xR1bVQPcZCCiXeRdQUp-daOVK5RLagBwtbBsh7OgSk-ucnWdNl5_YaZYsMmgPHJbBWHXlr/w400-h219/evolution-of-radar-technology-in-drone-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Introduction: The Invisible Wingman&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;In the high-stakes theater of modern defense, a profound irony has emerged: the same multi-million dollar sensor networks engineered to track supersonic interceptors and ballistic missiles are often functionally blind to a plastic quadcopter bought at a hobby shop. We have spent the better part of a century perfecting the &quot;Goliaths&quot; of radar technology—monolithic, high-power arrays—only to find ourselves outmaneuvered by a swarm of &quot;Davids.&quot; This &quot;stealth of the ordinary&quot; is not the result of secret government alloys or multi-billion dollar research initiatives, but rather a fundamental mismatch between the physics of traditional radar and the mundane behavior of consumer drone technology.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;The &quot;Overkill&quot; Problem: Why Big Radar Ignores Small Targets&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Legacy air defense systems, such as the Russian S300, represent the pinnacle of &quot;Legacy Optimization.&quot; These systems were built for a world of high-velocity, high-RCS (Radar Cross Section) targets. They are designed to scan the horizon for massive metallic signatures moving at Mach 2, employing aggressive filtering strategies to ignore anything that doesn&#39;t fit the profile of a threat.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Because these systems are so specialized for large-scale aerial combat, they view the &quot;small and slow&quot; as irrelevant noise. Even when specialized drone-detection radars are deployed, the physics remain daunting: these systems typically achieve a detection range of only up to 6 km for targets with an RCS of 0.01–0.1 m². Attempting to force a legacy system into this role is an exercise in futility.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;Attempting to adapt traditional radars to address the specific challenges posed by drones is akin to using excessive force for a minor task.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;When a sensor is tuned to find a fighter jet, a drone hovering at 20 mph doesn&#39;t just look small—it looks like a rounding error in the data, a phantom to be scrubbed by the system&#39;s own signal processing.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Material Invisibility: The Composite Challenge&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Drone manufacturers have inadvertently achieved a level of low-observability that military engineers once thought required exotic stealth coatings. Most consumer drones are constructed from composite materials and plastics rather than the aluminum or titanium found in traditional aviation. To understand why this matters, one must look at the three scattering behaviors of radar:&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The Rayleigh Region:&lt;/b&gt; Where the target is much smaller than the radar wavelength.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The Resonance Region:&lt;/b&gt; Where the target size is comparable to the wavelength.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;The Optical Region:&lt;/b&gt; Where the target is much larger than the wavelength.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Because drones are small and made of composites, they interact differently across these regions, often failing to reflect waves with the intensity required for a &quot;lock.&quot; Furthermore, drones lack the massive, heat-emitting engines of jet aircraft. With temperatures that mimic the surrounding ambient atmosphere, they effectively vanish from infrared sensors, slipping through the primary sensory nets of modern defense by simply being made of the &quot;wrong&quot; materials.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Hiding in Plain Sight: The &quot;Cloud&quot; Camouflage&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;To a multi-billion dollar radar array, a $500 drone doesn&#39;t just look like a cloud—it behaves like one, mimicking the slow, drifting kinetic signature of a weather pattern until the system&#39;s &quot;clutter&quot; filters scrub it from reality. Because drones operate at speeds nearly identical to moving clouds, traditional software often discards their return signals to keep the operator&#39;s screen from being overwhelmed by natural phenomena. It is the ultimate camouflage: hiding not in the shadows, but in the most common data points in the sky.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;The &quot;Bird or Bot&quot; Dilemma: The Role of Automatic Target Recognition (ATR)&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The defense industry&#39;s answer to this invisibility is the specialized drone detection radar, typically operating in the X-band. The choice of X-band is intentional; its higher frequency and shorter wavelengths provide the resolution necessary to &quot;see&quot; small targets that lower-frequency radars miss. However, seeing the target is only half the battle; the system must then decide if it is looking at a bird or a bot.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;This is where Automatic Target Recognition (ATR) and micro-Doppler analysis come into play. Systems like the SAAB Giraffe utilize advanced signal processing to detect the &quot;micro-Doppler&quot; shift—the specific frequency modulation caused by the mechanical spin of a motor&#39;s propellers as opposed to the organic, irregular wingbeat of a bird.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Modern ATR utilizes a multi-modal evaluation of data:&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Micro-Doppler signatures:&lt;/b&gt; Identifying the high-speed rotation of propeller blades.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Statistical RCS features:&lt;/b&gt; Analyzing the specific scattering behavior and fluctuations in the radar return.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Kinetic feature analysis:&lt;/b&gt; Evaluating trajectory and speed to classify the flight profile against known drone behaviors.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;3D mapping:&lt;/b&gt; Separating the target from the complex terrestrial background.&lt;/li&gt;&lt;/ul&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;The 100-Meter Blind Spot: A High-Stakes Trade-off&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The most vulnerable gap in modern airspace security is the &quot;super-low-altitude&quot; zone, specifically below 100 meters. While specialized drone radars are generally designed to monitor the sky below 1,000 meters AGL (Above Ground Level), they face a brutal challenge from the ground itself. Ground-based objects like buildings, trees, and terrain create a massive amount of &quot;clutter.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Radar operators are forced into a high-stakes technical compromise: they can tilt the radar&#39;s elevation angle upward to clear the ground clutter, but this creates a massive blind spot below them. A drone flying within that last 100-meter floor can use the curve of the earth and the complexity of the &quot;clutter&quot; to remain invisible until it is within striking distance.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Conclusion: The Future of the Invisible Sky&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The evolution of radar is no longer a race of power, but a race of intelligence. As we transition from the era of &quot;brute force&quot; sensing to sophisticated algorithmic recognition, the ability to discern the small and slow will become the hallmark of a modern military.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As aerial technology becomes increasingly accessible, we face a looming societal question: How will we balance the proliferation of a populated, accessible sky with the security necessity of monitoring a nearly invisible fleet of drones? The &quot;last 100 meters&quot; of our airspace is no longer just a technical challenge—it is the new front line of global security.&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/6482150967313981336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/evolution-of-radar-technology-in-drone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6482150967313981336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6482150967313981336'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/09/evolution-of-radar-technology-in-drone.html' title='The Stealth of the Ordinary: Why $100 Million Radars Can’t See a $500 Drone'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj85qFmZMpliKJJrMa91HTkQlTNmC5rH9nzE2K76duy1mg4EENvGZAi0gmI3TewbU_AbxpCCGhC5E5QTUFllczc3WyZ0AlFA6Upf-_g8Nf-7qQ4RKB1-2u4Q2xR1bVQPcZCCiXeRdQUp-daOVK5RLagBwtbBsh7OgSk-ucnWdNl5_YaZYsMmgPHJbBWHXlr/s72-w400-h219-c/evolution-of-radar-technology-in-drone-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-2089872237456375858</id><published>2026-08-31T00:00:00.000+05:30</published><updated>2026-08-31T00:00:00.218+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Article"/><category scheme="http://www.blogger.com/atom/ns#" term="Automation"/><title type='text'>Sky-High Ambitions: 5 Surprising Realities of the Urban Drone Delivery Revolution</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY_iBYhg8pk7gdQxvu8EL6JAV7mLeUupaiTrYbcMifEj6A7NYxlUcIXU-KsLzcfVpEosImiEk7YtBXqcwvPVM1mYUvW4UC-uDyWaDCtQmL0k6pMoLuRryXi9Yswzgkrzn3qieUmWtV9Wp2nVlGxpMCt4DXkakOE4moRstlkOCGba9YqkMXUr3P3Yfrlc2u/s1408/drone-delivery-in-urban-areas-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Sky-High Ambitions: 5 Surprising Realities of the Urban Drone Delivery Revolution&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY_iBYhg8pk7gdQxvu8EL6JAV7mLeUupaiTrYbcMifEj6A7NYxlUcIXU-KsLzcfVpEosImiEk7YtBXqcwvPVM1mYUvW4UC-uDyWaDCtQmL0k6pMoLuRryXi9Yswzgkrzn3qieUmWtV9Wp2nVlGxpMCt4DXkakOE4moRstlkOCGba9YqkMXUr3P3Yfrlc2u/w400-h219/drone-delivery-in-urban-areas-Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Introduction: The View from Above&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Drones have officially shed their military fatigues and hobbyist labels to tackle the ultimate civilian enemy: urban gridlock. The promise of airborne logistics is no longer a &quot;someday&quot; tech demo; it is the inevitable solution to the friction of ground-based transport.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The global pandemic acted as a violent catalyst, transforming the curiosity of &quot;contactless&quot; delivery into a hard-coded logistical requirement. To understand the future of our cities, we must look beyond the rotor-blade hype and confront the complex infrastructure project currently taking flight.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;1. The Pandemic Wasn&#39;t Just a Phase—It Was a Paradigm Shift&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The e-commerce explosion of 2020 didn&#39;t just stress-test our supply chains; it shattered the &quot;last-mile&quot; status quo forever. For logistics giants like UPS, Flytrex, and Amazon Prime Air, the pandemic forced a transition from experimental curiosity to essential business strategy.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;This was a forced evolution, not a natural one, proving that autonomous systems are the only way to bridge the gap when traditional transport falters. The &quot;futuristic novelty&quot; is dead, replaced by a permanent paradigm shift in how we move goods through the urban core.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;The integration of drones into various sectors... has sparked a paradigm shift in how businesses approach tasks such as surveillance, photography, and package delivery. This evolution has been further accelerated by the surge in e-commerce activities during the COVID-19 pandemic, which underscored the need for efficient and contactless delivery solutions.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;2. Drones Are Getting Much &quot;Heavier&quot; Than You Think&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;We need to stop thinking about drones as fragile toys meant for single envelopes or light medical supplies. The data shows a massive leap in lifting power that signals the death of the &quot;one drone, one coffee&quot; delivery model.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The Freefly Alta X1 is the harbinger of this change, boasting a payload capacity of up to 15.9 kg. This technical milestone enables a &quot;1:Many&quot; economic model, where a single sortie can drop off an entire neighborhood&#39;s worth of parcels in a single trip.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;3. The Battery Bottleneck: Why Range Still Rules the Sky&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Despite the impressive lift of the Alta X1, every drone remains bound by an &quot;invisible ceiling&quot; of energy density. This is the physical tether keeping the revolution grounded: the brutal trade-off between battery weight, cargo weight, and flight time.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Furthermore, every watt used by high-res remote sensors and surveillance equipment is a watt stolen from the delivery payload. Until battery technology catches up to our ambitions, range will remain the primary gatekeeper of the aerial economy.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;4. The &quot;Invisible Wall&quot; of Urban Regulations&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;There is a profound irony in urban drone logistics: these machines are built specifically for the density of cities, yet that very density is what restricts them. The &quot;Invisible Wall&quot; of regulation currently forces operators to navigate a minefield of line-of-sight requirements and rigid &quot;no-fly zones.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Airports, government buildings, and helipads create a fragmented airspace that is far more complex than any ground-level road network. Navigating this paradox—serving the crowded city while being legally barred from its most sensitive corners—remains the industry&#39;s greatest hurdle.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&quot;Urban environments are often characterized by a complex airspace landscape, including airports, helipads, and restricted zones such as government buildings or sensitive infrastructure. Navigating these no-fly zones and restricted areas poses a significant challenge for drone delivery operators.&quot;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;5. AI and &quot;Skyways&quot; are the New Urban Infrastructure&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The dream of a drone-filled sky cannot survive if it relies on &quot;remote-controlled gadgets&quot; operated by humans. At scale, the urban sky becomes too complex for human pilots, necessitating a shift toward drones as true &quot;autonomous agents.&quot;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The future lies in &quot;skyway networks&quot;—designated flight corridors managed by predictive algorithms that adapt to environmental changes in real-time. This digital infrastructure is the only way to manage a high-volume, three-dimensional traffic grid that operates beyond human reaction speeds.&lt;/p&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Conclusion: Navigating the New Horizon&lt;/h2&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;The transition to a three-dimensional delivery network is not a possibility—it is an unfolding inevitability. The convergence of 15.9 kg payloads, autonomous AI, and collaborative &quot;skyway&quot; regulations is currently rewriting the rules of the urban landscape.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;As these autonomous agents become permanent fixtures of our city skylines, we must prepare for a radical shift in our daily environment. How will your neighborhood’s &quot;vibe&quot; change once the sky above becomes the primary corridor for every item you order?&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-53f47bf6-7fff-d090-0388-b32e6f748a6f&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all 2026 published articles list:&lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2026/01/8051MT01022026PublishedArticlesIndexPage.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/2089872237456375858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/drone-delivery-in-urban-areas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/2089872237456375858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/2089872237456375858'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/drone-delivery-in-urban-areas.html' title='Sky-High Ambitions: 5 Surprising Realities of the Urban Drone Delivery Revolution'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY_iBYhg8pk7gdQxvu8EL6JAV7mLeUupaiTrYbcMifEj6A7NYxlUcIXU-KsLzcfVpEosImiEk7YtBXqcwvPVM1mYUvW4UC-uDyWaDCtQmL0k6pMoLuRryXi9Yswzgkrzn3qieUmWtV9Wp2nVlGxpMCt4DXkakOE4moRstlkOCGba9YqkMXUr3P3Yfrlc2u/s72-w400-h219-c/drone-delivery-in-urban-areas-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-7403931928288895878</id><published>2026-08-30T00:00:00.000+05:30</published><updated>2026-08-30T00:00:00.253+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Hexagon Pattern in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The hexagon star pattern is an advanced shape pattern in C programming that tests your ability to coordinate multi-phase loop sequencing, space offset alignment, and variable width calculations across composite geometric sections&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_795d5b94f155f4ac-464&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_795d5b94f155f4ac-465&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Constructing a balanced hexagon pattern requires decomposing the shape into three distinct segments: an expanding top trapezoid, a uniform rectangular middle block, and a contracting bottom trapezoid&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial details the underlying mathematical logic, provides a complete C implementation, and analyzes its performance complexity&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-466&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Proficiency in nested &lt;code data-index-in-node=&quot;37&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard input/output (&lt;code data-index-in-node=&quot;71&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and integer arithmetic&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt; (for side size &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;31&quot; data-math=&quot;n = 4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n = 4&lt;/span&gt;):&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-106 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-106 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQlwM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_c5f878f851efaf00&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_795d5b94f155f4ac&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-106&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-106&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-106 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-106 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-106 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-106&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-106&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   ****
  ******
 ********
**********
**********
**********
**********
 ********
  ******
   ****
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_795d5b94f155f4ac-467&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_795d5b94f155f4ac-468&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For a side length of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;21&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;, the total height of the hexagon is &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;59&quot; data-math=&quot;3n - 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3n - 2&lt;/span&gt;&amp;nbsp;rows&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. We divide the rendering logic into three sequential phases&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;9,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 1: Upper Expanding Trapezoid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;36&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n - 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-469&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Decreases each row from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&amp;nbsp;down to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;54&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;(&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;57&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;&amp;nbsp;spaces)&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,1,0&quot; id=&quot;p-rc_795d5b94f155f4ac-470&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Expands from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;24&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;asterisks on the first row in increments of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;70&quot; data-math=&quot;2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;, given by &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;82&quot; data-math=&quot;n + 2(i - 1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n + 2(i - 1)&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;11,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 2: Central Rectangular Body (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;35&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;44&quot; data-math=&quot;n&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;11,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-471&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;16&quot; data-math=&quot;0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&amp;nbsp;spaces required&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,1,0&quot; id=&quot;p-rc_795d5b94f155f4ac-472&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Maintains a constant max width of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;3n - 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3n - 2&lt;/span&gt;&amp;nbsp;asterisks across &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;69&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;consecutive rows&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;13,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 3: Lower Contracting Trapezoid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;38&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;47&quot; data-math=&quot;n - 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;13,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;14&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-473&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Increases each row from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&amp;nbsp;(&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;52&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;spaces)&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;14,1,0&quot; id=&quot;p-rc_795d5b94f155f4ac-474&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;14,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Decreases in increments of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;38&quot; data-math=&quot;2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;, given by &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;50&quot; data-math=&quot;(3n - 2) - 2i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(3n - 2) - 2i&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;14,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;15&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Phase&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Total Width&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;6&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,3,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,3,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Middle&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1–4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,4,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,4,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,5,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,6,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,6,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,6,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,6,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;6&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,6,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,7,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,7,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,7,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,7,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;15,7,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;16,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;16,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-107 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-107 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQogM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_c5f878f851efaf00&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_795d5b94f155f4ac&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-107&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-107&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-107 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-107 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-107 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-107&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-107&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-meta&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the side length of the hexagon: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 1: Upper Expanding Trapezoid (n - 1 rows)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt; n; i++) {
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= n + &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 2: Central Rectangular Body (n rows)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt; * n - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 3: Lower Contracting Trapezoid (n - 1 rows)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt; n; i++) {
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt; * n - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;) - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * i; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;18&quot; id=&quot;p-rc_795d5b94f155f4ac-475&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;19,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;19,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;20&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;20,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-476&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;20,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase Alignment&lt;/b&gt;: Sectioning the loop execution into three distinct outer &lt;code data-index-in-node=&quot;73&quot; data-path-to-node=&quot;20,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops avoids complex, error-prone single-loop conditional branching&lt;/span&gt;&lt;span data-path-to-node=&quot;20,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;20,1,0&quot; id=&quot;p-rc_795d5b94f155f4ac-477&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;20,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Maximum Width Calculation&lt;/b&gt;: The formula &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;39&quot; data-math=&quot;3n - 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3n - 2&lt;/span&gt;&amp;nbsp;accurately computes the peak horizontal width at the middle body for any valid side length &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;137&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;20,2,0&quot; id=&quot;p-rc_795d5b94f155f4ac-478&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;20,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line Break Control&lt;/b&gt;: Each outer loop iteration terminates with &lt;code data-index-in-node=&quot;62&quot; data-path-to-node=&quot;20,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; to print the next row on a new line&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;21,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;21,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;22&quot; id=&quot;p-rc_795d5b94f155f4ac-479&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;22,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and execute using standard GCC tools&lt;/span&gt;&lt;span data-path-to-node=&quot;22,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;22,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-108 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-108 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQqAM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_c5f878f851efaf00&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_795d5b94f155f4ac&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-108&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-108&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-108 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-109 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-109 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQqQM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_c5f878f851efaf00&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_795d5b94f155f4ac&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-109&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-109&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-109 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-109 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-109 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-109&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-109&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the side length of the hexagon: 4
   ****
  ******
 ********
**********
**********
**********
**********
 ********
  ******
   ****
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;26&quot; id=&quot;p-rc_795d5b94f155f4ac-480&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-481&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Distorted Aspect Ratio&lt;/b&gt;: Setting the middle section height to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;61&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;row instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;78&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;rows turns the shape into an elongated diamond rather than a regular hexagon&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,1,0&quot; id=&quot;p-rc_795d5b94f155f4ac-482&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Off-by-One Max Width Errors&lt;/b&gt;: Using &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;35&quot; data-math=&quot;3n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3n&lt;/span&gt;&amp;nbsp;instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;49&quot; data-math=&quot;3n - 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3n - 2&lt;/span&gt;&amp;nbsp;misaligns the top trapezoid base with the central rectangular body&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,2,0&quot; id=&quot;p-rc_795d5b94f155f4ac-483&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Breaks&lt;/b&gt;: Forgetting &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;28,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; appends all phases onto a single continuous text string&lt;/span&gt;&lt;span data-path-to-node=&quot;28,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_795d5b94f155f4ac-484&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;because the three consecutive loop phases iterate over &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;79&quot; data-math=&quot;3n - 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3n - 2&lt;/span&gt;&amp;nbsp;total rows with inner character operations proportional to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;145&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_795d5b94f155f4ac-485&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory space, using only scalar integer variables&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;31,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;31,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;32&quot; id=&quot;p-rc_795d5b94f155f4ac-486&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;32,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing multi-segmented shapes into independent, sequential loop phases simplifies building complex structural layouts in lower-level languages&lt;/span&gt;&lt;span data-path-to-node=&quot;32,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;32,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/7403931928288895878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hexagon-pattern-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/7403931928288895878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/7403931928288895878'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hexagon-pattern-in-c.html' title='Printing Hexagon Pattern in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-4905185175633550163</id><published>2026-08-29T00:00:00.000+05:30</published><updated>2026-08-29T00:00:00.227+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Butterfly Pattern in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The butterfly star pattern is an advanced shape pattern in C programming that tests your control over bilateral symmetry, dual-wing rendering, and dynamic interior space calculations&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_037dfa30493cccba-441&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_037dfa30493cccba-442&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering the butterfly pattern requires dividing the shape into two symmetrical halves, each constructed by printing left stars, middle spaces, and right stars across each row&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the visual logic, provides a full C implementation, and analyzes its performance complexity&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_037dfa30493cccba-443&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Comfort with nested &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard input/output (&lt;code data-index-in-node=&quot;69&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;77&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and integer arithmetic&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-102 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-102 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ-QI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_87a52a887855fdc9&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_037dfa30493cccba&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-102&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-102&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-102 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-102 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-102 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-102&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-102&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*        *
**      **
***    ***
****  ****
**********
****  ****
***    ***
**      **
*        *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_037dfa30493cccba-444&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_037dfa30493cccba-445&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For a half-height of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;21&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;, the total height of the butterfly structure is &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;71&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;rows&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. We split the rendering logic into two symmetrical phases&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;9,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 1: Upper Wings (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;22&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;31&quot; data-math=&quot;n&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,0,0&quot; id=&quot;p-rc_037dfa30493cccba-446&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Left Wing&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;asterisks&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,1,0&quot; id=&quot;p-rc_037dfa30493cccba-447&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Center Gap&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;19&quot; data-math=&quot;2(n - i)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - i)&lt;/span&gt;&amp;nbsp;spaces to form the shrinking inner gap&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,2,0&quot; id=&quot;p-rc_037dfa30493cccba-448&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Right Wing&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;19&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$i$&lt;/span&gt; asterisks&lt;/span&gt;&lt;span data-path-to-node=&quot;10,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;11,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 2: Lower Wings (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;22&quot; data-math=&quot;i = n - 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = n - 1&lt;/span&gt;&amp;nbsp;down to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;11,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,0,0&quot; id=&quot;p-rc_037dfa30493cccba-449&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Left Wing&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;asterisks&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,1,0&quot; id=&quot;p-rc_037dfa30493cccba-450&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Center Gap&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;19&quot; data-math=&quot;2(n - i)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - i)&lt;/span&gt;&amp;nbsp;spaces to expand the inner gap back outward&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,2,0&quot; id=&quot;p-rc_037dfa30493cccba-451&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Right Wing&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;19&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;asterisks&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;13&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row Index (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Phase&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Left Asterisks (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Center Spaces (2(n−i))&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Right Asterisks (i)&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;6&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5 (Center)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4 (Row 6)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3 (Row 7)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 (Row 8)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;6&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 (Row 9)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;14,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;14,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-103 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-103 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQhAM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_87a52a887855fdc9&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_037dfa30493cccba&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-103&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-103&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-103 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-103&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-103&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows for upper half: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 1: Upper Wings (Rows 1 to n)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Left Wing Asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Center Gap Spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Right Wing Asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 2: Lower Wings (Rows n - 1 down to 1)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = n - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;gt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i--) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Left Wing Asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Center Gap Spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Right Wing Asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;16&quot; id=&quot;p-rc_037dfa30493cccba-452&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,0,0&quot; id=&quot;p-rc_037dfa30493cccba-453&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Triple Inner Loops&lt;/b&gt;: Each row executes three consecutive inner loops: one for the left wing, one for the middle gap, and one for the right wing&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,1,0&quot; id=&quot;p-rc_037dfa30493cccba-454&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Decrementing Phase&lt;/b&gt;: Reversing the outer loop bounds in Phase 2 (&lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for (i = n - 1; i &amp;gt;= 1; i--)&lt;/code&gt;) reuses the exact same inner wing and space formulas while guaranteeing perfect vertical reflection&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,2,0&quot; id=&quot;p-rc_037dfa30493cccba-455&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Solid Center Line&lt;/b&gt;: At &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;22&quot; data-math=&quot;i = n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = n&lt;/span&gt;, the space formula &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;47&quot; data-math=&quot;2(n - n)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - n)&lt;/span&gt;&amp;nbsp;yields &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;63&quot; data-math=&quot;0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&amp;nbsp;spaces, creating a solid middle bar of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;104&quot; data-math=&quot;2n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n&lt;/span&gt;&amp;nbsp;asterisks&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;19,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;19,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;20&quot; id=&quot;p-rc_037dfa30493cccba-456&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and execute using GCC&lt;/span&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-104 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-104 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQigM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_87a52a887855fdc9&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_037dfa30493cccba&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-104&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-104&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-104 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-105 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-105 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQiwM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_87a52a887855fdc9&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_037dfa30493cccba&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-105&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-105&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-105 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-105 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-105 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-105&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-105&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows for upper half: 5
*        *
**      **
***    ***
****  ****
**********
****  ****
***    ***
**      **
*        *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;24&quot; id=&quot;p-rc_037dfa30493cccba-457&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_037dfa30493cccba-458&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Duplicate Full Width Row&lt;/b&gt;: Starting Phase 2 at &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;46&quot; data-math=&quot;i = n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = n&lt;/span&gt;&amp;nbsp;instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;63&quot; data-math=&quot;i = n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = n - 1&lt;/span&gt;&amp;nbsp;prints two adjacent solid lines of length &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;115&quot; data-math=&quot;2n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n&lt;/span&gt;, distorting the central axis&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_037dfa30493cccba-459&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Incorrect Space Multiplier&lt;/b&gt;: Forgetting the factor of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;53&quot; data-math=&quot;2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&amp;nbsp;in &lt;code data-index-in-node=&quot;58&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 * (n - i)&lt;/code&gt; causes the wings to overlap prematurely&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,2,0&quot; id=&quot;p-rc_037dfa30493cccba-460&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Breaks&lt;/b&gt;: Omitting &lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;26,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; after the right wing loop forces the entire butterfly structure onto a single line&lt;/span&gt;&lt;span data-path-to-node=&quot;26,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,0,0&quot; id=&quot;p-rc_037dfa30493cccba-461&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;because two sequential nested loop blocks execute over &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;79&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;rows with inner loops proportional to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;124&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,1,0&quot; id=&quot;p-rc_037dfa30493cccba-462&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory space, requiring only scalar integer variables&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_037dfa30493cccba-463&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;30,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Coordinating bilateral loop logic with decrementing phase bounds provides a foundation for building complex, multi-segmented ASCII graphics&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_037dfa30493cccba-463&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;-webkit-text-decoration-skip: none; background-color: transparent; color: #1155cc; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/4905185175633550163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-butterfly-pattern-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/4905185175633550163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/4905185175633550163'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-butterfly-pattern-in-c.html' title='Printing Butterfly Pattern in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-1292478034962175627</id><published>2026-08-28T00:00:00.000+05:30</published><updated>2026-08-28T00:00:00.116+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Hourglass in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The hourglass star pattern is an iconic multi-phase geometry problem in C programming that tests your ability to mirror logic by connecting an inverted full pyramid seamlessly to a standard full pyramid&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_044e522a57b599d5-420&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_044e522a57b599d5-421&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering the hourglass pattern refines your mastery over multi-loop coordination, dynamic bounds calculation, and vertical symmetry&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the architectural logic, line-by-line algorithm, complete C source code, and performance complexity required to output a flexible hourglass pattern based on user input&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_044e522a57b599d5-422&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Proficiency in nested &lt;code data-index-in-node=&quot;37&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard input/output (&lt;code data-index-in-node=&quot;71&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and integer arithmetic&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-98 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-98 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ3QI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0a78fe220e85d82e&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_044e522a57b599d5&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-98&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-98&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-98 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-98 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*********&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-98&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-98&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt; *******
  *****
   ***
    *
   ***
  *****
 *******
*********
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_044e522a57b599d5-423&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_044e522a57b599d5-424&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For a half-height of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;21&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;, the total height of the hourglass is &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;61&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;rows&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. We split the structure into two sequential rendering phases&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;9,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 1: Upper Inverted Pyramid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;33&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;42&quot; data-math=&quot;n&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,0,0&quot; id=&quot;p-rc_044e522a57b599d5-425&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Increases each row from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&amp;nbsp;(&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;52&quot; data-math=&quot;i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i - 1&lt;/span&gt;&amp;nbsp;spaces)&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,1,0&quot; id=&quot;p-rc_044e522a57b599d5-426&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Decreases in odd increments given by &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;48&quot; data-math=&quot;2(n - i) + 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - i) + 1&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;11,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 2: Lower Full Pyramid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;29&quot; data-math=&quot;i = 2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 2&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;38&quot; data-math=&quot;n&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;11,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,0,0&quot; id=&quot;p-rc_044e522a57b599d5-427&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Decreases each row from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;n - 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 2&lt;/span&gt;&amp;nbsp;down to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;54&quot; data-math=&quot;0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&amp;nbsp;(&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;57&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;&amp;nbsp;spaces)&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,1,0&quot; id=&quot;p-rc_044e522a57b599d5-428&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Increases in odd increments given by &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;48&quot; data-math=&quot;2i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2i - 1&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;13&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row Index&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Phase&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5 (Center)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 (Row 6)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3 (Row 7)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4 (Row 8)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5 (Row 9)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;14,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;14,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-99 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-99 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ5gI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0a78fe220e85d82e&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_044e522a57b599d5&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-99&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-99&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-99 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-99 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-99&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-99&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows for upper half: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 1: Upper Inverted Pyramid (Rows 1 to n)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt; i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i) + &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 2: Lower Full Pyramid (Rows 2 to n)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;16&quot; id=&quot;p-rc_044e522a57b599d5-429&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,0,0&quot; id=&quot;p-rc_044e522a57b599d5-430&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper Loop Phase&lt;/b&gt;: Iterates through rows &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;45&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;, reducing asterisks from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;72&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;down to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;87&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;to form the contracting top half&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,1,0&quot; id=&quot;p-rc_044e522a57b599d5-431&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower Loop Phase&lt;/b&gt;: Starts at &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;28&quot; data-math=&quot;i = 2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 2&lt;/span&gt;&amp;nbsp;to prevent duplicating the single central asterisk vertex, expanding back out to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;115&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&amp;nbsp;&lt;/span&gt;asterisks&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,2,0&quot; id=&quot;p-rc_044e522a57b599d5-432&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Line Break Sequencing&lt;/b&gt;: &lt;code data-index-in-node=&quot;23&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; executes after each inner character loop completes, ensuring precise row alignment&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;19,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;19,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;20&quot; id=&quot;p-rc_044e522a57b599d5-433&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and run the program using GCC&lt;/span&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-100 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-100 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ7AI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0a78fe220e85d82e&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_044e522a57b599d5&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-100&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-100&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-100 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-101 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-101 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ7QI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0a78fe220e85d82e&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_044e522a57b599d5&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-101&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-101&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-101 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-101 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-101 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-101&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-101&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows for upper half: 5
*********
 *******
  *****
   ***
    *
   ***
  *****
 *******
*********
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;24&quot; id=&quot;p-rc_044e522a57b599d5-434&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_044e522a57b599d5-435&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Duplicate Single Star Vertex&lt;/b&gt;: Starting Phase 2 at &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;50&quot; data-math=&quot;i = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;prints two consecutive rows with a single asterisk (&lt;code data-index-in-node=&quot;108&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*&lt;/code&gt;), distorting the central focal point&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_044e522a57b599d5-436&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Off-by-One Space Shift&lt;/b&gt;: Using &lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;space &amp;lt;= i&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;52&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;space &amp;lt; i&lt;/code&gt; in Phase 1 adds an unnecessary extra leading space on the first row&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,2,0&quot; id=&quot;p-rc_044e522a57b599d5-437&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Incorrect Odd Count Formulas&lt;/b&gt;: Mixing up upper (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;47&quot; data-math=&quot;2(n - i) + 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - i) + 1&lt;/span&gt;) and lower (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;72&quot; data-math=&quot;2i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2i - 1&lt;/span&gt;) star formulas breaks the symmetry&lt;/span&gt;&lt;span data-path-to-node=&quot;26,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,0,0&quot; id=&quot;p-rc_044e522a57b599d5-438&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;because two sequential nested loop blocks execute outer iterations up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;97&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n$&lt;/span&gt; times with inner loops proportional to&amp;nbsp;&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;138&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,1,0&quot; id=&quot;p-rc_044e522a57b599d5-439&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory space, using only scalar integer counters&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_044e522a57b599d5-440&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;30,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Symmetrically coupling inverted and upright nested loops enables you to construct complex hourglass geometries cleanly&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/1292478034962175627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hourglass-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1292478034962175627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1292478034962175627'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hourglass-in-c.html' title='Printing Hourglass in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-2924382612811784090</id><published>2026-08-27T00:00:00.000+05:30</published><updated>2026-08-27T00:00:00.379+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Hollow Rhombus in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The hollow rhombus pattern extends the solid rhombus concept by introducing boundary checks within nested loops, printing asterisks only along the outer perimeter of the parallelogram&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_fb413262a3be49ed-400&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_fb413262a3be49ed-401&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering this shape sharpens your ability to pair horizontal space offsets with conditional checks (&lt;code data-index-in-node=&quot;101&quot; data-path-to-node=&quot;3,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; statements) to isolate interior spaces from exterior borders&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the visual logic, step-by-step algorithm, C source code, and performance complexity required to output a flexible hollow rhombus based on user input&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_fb413262a3be49ed-402&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Knowledge of nested &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, conditional logic (&lt;code data-index-in-node=&quot;65&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt;), standard I/O (&lt;code data-index-in-node=&quot;89&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;97&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and basic arithmetic&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-94 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-94 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQwgI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_109962a3ba20fd99&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_fb413262a3be49ed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-94&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-94&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-94 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-94 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp; &amp;nbsp; *****&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-94&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-94&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   *    *
  *    *
 *    *
*****
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_fb413262a3be49ed-403&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_fb413262a3be49ed-404&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A hollow rhombus of size &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;25&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;consists of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;39&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;rows and &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;50&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;columns&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Each row is shifted by &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;25&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;&amp;nbsp;leading spaces to create the slanted parallelogram alignment&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;9&quot; id=&quot;p-rc_fb413262a3be49ed-405&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;9,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inside the character loop, asterisks are printed only along the four borders&lt;/span&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;9,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,0,0&quot; id=&quot;p-rc_fb413262a3be49ed-406&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Top and Bottom Edges&lt;/b&gt;: On the first row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;i = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;) and last row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;61&quot; data-math=&quot;i = n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = n&lt;/span&gt;), every column position from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;96&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;105&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;prints an asterisk (&lt;code data-index-in-node=&quot;127&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*&lt;/code&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,1,0&quot; id=&quot;p-rc_fb413262a3be49ed-407&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Side Edges&lt;/b&gt;: On middle rows (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;28&quot; data-math=&quot;1 &amp;lt; i &amp;lt; n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 &amp;lt; i &amp;lt; n&lt;/span&gt;), asterisks are printed only at the first column (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;88&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;) and last column (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;112&quot; data-math=&quot;j = n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = n&lt;/span&gt;), while intermediate positions (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;150&quot; data-math=&quot;1 &amp;lt; j &amp;lt; n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 &amp;lt; j &amp;lt; n&lt;/span&gt;) print spaces&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces (n−i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Border Condition (j=1 or j=n or i=1 or i=n)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Character Output&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 (Top)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;All &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;4&quot; data-math=&quot;j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/span&gt;&amp;nbsp;positions valid&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*****&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;0&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;&amp;nbsp;and &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;10&quot; data-math=&quot;j = 5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 5&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*   *&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;0&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;&amp;nbsp;and &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;10&quot; data-math=&quot;j = 5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 5&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,3,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*   *&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;0&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;&amp;nbsp;and &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;10&quot; data-math=&quot;j = 5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 5&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,4,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*   *&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5 (Bottom)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;All &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;4&quot; data-math=&quot;j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/span&gt;&amp;nbsp;positions valid&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;11,5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*****&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-95 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-95 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQygI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_109962a3ba20fd99&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_fb413262a3be49ed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-95&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-95&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-95 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-95 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-95&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-95&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces for slant alignment&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print boundary asterisks and inner spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= n; j++) {
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (i == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || i == n || j == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || j == n) {
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
            } &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
            }
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;14&quot; id=&quot;p-rc_fb413262a3be49ed-408&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;16&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_fb413262a3be49ed-409&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Offsets&lt;/b&gt;: The loop &lt;code data-index-in-node=&quot;24&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;space &amp;lt;= n - i&lt;/code&gt; calculates leading space counts to tilt the shape into a rhombus&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_fb413262a3be49ed-410&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Boundary Logic&lt;/b&gt;: The condition &lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if (i == 1 || i == n || j == 1 || j == n)&lt;/code&gt; ensures solid horizontal boundaries for top/bottom rows and solid vertical boundaries for side edges&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_fb413262a3be49ed-411&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Interior Hollow Space&lt;/b&gt;: Any character index not lying on a boundary defaults to printing a blank space&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;18&quot; id=&quot;p-rc_fb413262a3be49ed-412&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and run the program using standard GCC tools&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-96 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-96 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ0AI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_109962a3ba20fd99&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_fb413262a3be49ed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-96&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-96&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-96 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;20&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-97 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-97 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ0QI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_109962a3ba20fd99&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_fb413262a3be49ed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-97&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-97&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-97 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-97&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Plaintext&lt;/span&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-97 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-16&quot; arialabel=&quot;Download code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger download-button ng-tns-c3578594610-97 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; fonticonname=&quot;arrow_circle_down&quot; gemtooltip=&quot;Download code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;button _ngcontent-ng-c2501665546=&quot;&quot; aria-label=&quot;Download code&quot; class=&quot;mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted&quot; jslog=&quot;305704;track:generic_click,impression&quot; mat-ripple-loader-centered=&quot;&quot; mat-ripple-loader-class-name=&quot;mat-mdc-button-ripple&quot; mat-ripple-loader-uninitialized=&quot;&quot; matbadgeposition=&quot;after&quot; maticonbutton=&quot;&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;mat-mdc-button-persistent-ripple mdc-icon-button__ripple&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;gem-icon _ngcontent-ng-c2501665546=&quot;&quot; _nghost-ng-c2466052067=&quot;&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;mat-icon _ngcontent-ng-c2466052067=&quot;&quot; aria-hidden=&quot;true&quot; class=&quot;mat-icon notranslate lm-icon-l lumi-symbols mat-ligature-font mat-icon-no-color ng-star-inserted&quot; data-mat-icon-name=&quot;arrow_circle_down&quot; data-mat-icon-namespace=&quot;lumi-symbols&quot; data-mat-icon-type=&quot;font&quot; fonticon=&quot;arrow_circle_down&quot; role=&quot;img&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/mat-icon&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon&gt;&lt;!----&gt;&lt;span class=&quot;mat-focus-indicator&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mat-mdc-button-touch-target&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/button&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-97 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;button _ngcontent-ng-c2501665546=&quot;&quot; aria-label=&quot;Copy code&quot; class=&quot;mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted&quot; jslog=&quot;179062;track:generic_click,impression;BardVeMetadataKey:[[&amp;quot;r_109962a3ba20fd99&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_fb413262a3be49ed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]];mutable:true&quot; mat-ripple-loader-centered=&quot;&quot; mat-ripple-loader-class-name=&quot;mat-mdc-button-ripple&quot; mat-ripple-loader-uninitialized=&quot;&quot; matbadgeposition=&quot;after&quot; maticonbutton=&quot;&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;mat-mdc-button-persistent-ripple mdc-icon-button__ripple&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;gem-icon _ngcontent-ng-c2501665546=&quot;&quot; _nghost-ng-c2466052067=&quot;&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;mat-icon _ngcontent-ng-c2466052067=&quot;&quot; aria-hidden=&quot;true&quot; class=&quot;mat-icon notranslate lm-icon-l lumi-symbols mat-ligature-font mat-icon-no-color ng-star-inserted&quot; data-mat-icon-name=&quot;copy&quot; data-mat-icon-namespace=&quot;lumi-symbols&quot; data-mat-icon-type=&quot;font&quot; fonticon=&quot;copy&quot; role=&quot;img&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/mat-icon&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon&gt;&lt;!----&gt;&lt;span class=&quot;mat-focus-indicator&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mat-mdc-button-touch-target&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/button&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-97&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-97&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5
    *****
   *    *
  *    *
 *    *
*****
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;22&quot; id=&quot;p-rc_fb413262a3be49ed-413&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,0,0&quot; id=&quot;p-rc_fb413262a3be49ed-414&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Top/Bottom Checks&lt;/b&gt;: Omitting &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;24,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i == 1 || i == n&lt;/code&gt; leaves only side walls standing, causing top and bottom borders to stay open&lt;/span&gt;&lt;span data-path-to-node=&quot;24,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,1,0&quot; id=&quot;p-rc_fb413262a3be49ed-415&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Distorted Slant&lt;/b&gt;: Using &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;23&quot; data-math=&quot;i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i - 1&lt;/span&gt;&amp;nbsp;instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;&amp;nbsp;for leading spaces slants the rhombus in the opposite direction&lt;/span&gt;&lt;span data-path-to-node=&quot;24,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,2,0&quot; id=&quot;p-rc_fb413262a3be49ed-416&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Breaks&lt;/b&gt;: Forgetting &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;24,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; outputs all characters onto a single horizontal line&lt;/span&gt;&lt;span data-path-to-node=&quot;24,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_fb413262a3be49ed-417&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;because the outer loop executes &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;56&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;times containing two inner loops iterating up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;107&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;times&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_fb413262a3be49ed-418&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory space, using only scalar integer variables&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;28&quot; id=&quot;p-rc_fb413262a3be49ed-419&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Integrating multi-condition boundary checks into fixed-width nested loops allows you to render custom hollow geometric boundaries in terminal applications&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;28&quot; id=&quot;p-rc_fb413262a3be49ed-419&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;-webkit-text-decoration-skip: none; background-color: transparent; color: #1155cc; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/2924382612811784090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hollow-rhombus-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/2924382612811784090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/2924382612811784090'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hollow-rhombus-in-c.html' title='Printing Hollow Rhombus in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-694814057049088249</id><published>2026-08-26T00:00:00.000+05:30</published><updated>2026-08-26T00:00:00.138+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Solid Rhombus in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The solid rhombus pattern is a fundamental logic-building program in C pattern programming that bridges basic square printing with skewed space alignment&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-380&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-381&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering the solid rhombus pattern sharpens your control over nested loops by combining a dynamically decreasing space offset with a constant count of printed symbols per row&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the visual logic, step-by-step algorithm, C source code, and performance complexity required to output a flexible solid rhombus based on user input&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-382&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Knowledge of nested &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard input/output functions (&lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;87&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and basic integer operations&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-90 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-90 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQpwI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d78f674533421f64&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_eb7d2c4e7ec2b98f&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-90&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-90&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-90 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-90 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp; &amp;nbsp; *****&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-90&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-90&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   *****
  *****
 *****
*****
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-383&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-384&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;A solid rhombus of size &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;24&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;consists of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;38&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;rows and &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;49&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;columns of asterisks, shifted horizontally by leading spaces to form a sloped parallelogram with equal sides&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;9&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;9,0,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-385&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;9,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;9,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Outer Loop&lt;/b&gt;: Controls the row index &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;35&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;, iterating from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;53&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;58&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;9,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;9,1,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-386&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;9,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;9,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Loop&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;19&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;&amp;nbsp;leading spaces on row &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;47&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;to generate the rightward slant&lt;/span&gt;&lt;span data-path-to-node=&quot;9,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;9,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;9,2,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-387&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;9,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;9,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisk Loop&lt;/b&gt;: Prints exactly &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;30&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;asterisks on every row to preserve constant width&lt;/span&gt;&lt;span data-path-to-node=&quot;9,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;9,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces (n−i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Asterisks (n)&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;11,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;11,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-91 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-91 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQrwI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d78f674533421f64&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_eb7d2c4e7ec2b98f&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-91&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-91&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-91 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-91 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-91&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-91&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces for slant alignment&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print constant width of asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= n; j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;13&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-388&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;14,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;14,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;15&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,0,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-389&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Offset&lt;/b&gt;: The loop bound &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;15,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;space &amp;lt;= n - i&lt;/code&gt; decreases the space count progressively, creating the left-to-right slant&lt;/span&gt;&lt;span data-path-to-node=&quot;15,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,1,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-390&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Fixed Width Loop&lt;/b&gt;: Unlike pyramid structures where asterisk counts vary per row, the inner character loop iterates up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;120&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n$&lt;/span&gt; consistently on every row&lt;/span&gt;&lt;span data-path-to-node=&quot;15,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,2,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-391&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Row Formatting&lt;/b&gt;: &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;15,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; breaks the output line cleanly after completing the asterisk loop for each row&lt;/span&gt;&lt;span data-path-to-node=&quot;15,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;16,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;16,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;17&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-392&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;17,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and run the program using standard GCC tools&lt;/span&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;17,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-92 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-92 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQtQI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d78f674533421f64&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_eb7d2c4e7ec2b98f&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-92&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-92&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-92 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;19&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;19&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-93 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-93 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQtgI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d78f674533421f64&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_eb7d2c4e7ec2b98f&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-93&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-93&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-93 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-93 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-93&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-93&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;    *****
   *****
  *****
 *****
*****
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;21&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-393&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;22,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;22,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;23&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;23,0,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-394&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;23,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;23,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Confusing Rhombus with Pyramids&lt;/b&gt;: Dynamically changing the asterisk count per row instead of keeping it constant at &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;115&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;converts the shape into a triangular pattern&lt;/span&gt;&lt;span data-path-to-node=&quot;23,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;23,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;23,1,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-395&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;23,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;23,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Inverted Slant Direction&lt;/b&gt;: Using &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;32&quot; data-math=&quot;i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i - 1&lt;/span&gt;&amp;nbsp;leading spaces instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;64&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;&amp;nbsp;slants the rhombus in the opposite direction&lt;/span&gt;&lt;span data-path-to-node=&quot;23,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;23,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;23,2,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-396&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;23,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;23,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Breaks&lt;/b&gt;: Omitting &lt;code data-index-in-node=&quot;30&quot; data-path-to-node=&quot;23,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; prints all symbols across a single horizontal line&lt;/span&gt;&lt;span data-path-to-node=&quot;23,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;23,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;24,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;24,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;25&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;25,0,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-397&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;25,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;25,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;because the outer loop runs &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;52&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;times containing two sequential inner loops that iterate up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;117&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;times&lt;/span&gt;&lt;span data-path-to-node=&quot;25,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;25,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;25,1,0&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-398&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;25,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;25,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory space, using only scalar integer variables&lt;/span&gt;&lt;span data-path-to-node=&quot;25,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;25,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;26,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;26,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;27&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-399&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;27,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Combining constant character widths with dynamic space offsets provides a foundation for rendering skewed geometric grids in lower-level programming&lt;/span&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;27,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;27&quot; id=&quot;p-rc_eb7d2c4e7ec2b98f-399&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;27,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;27&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;27,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/694814057049088249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-solid-rhombus-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/694814057049088249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/694814057049088249'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-solid-rhombus-in-c.html' title='Printing Solid Rhombus in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-6557623354197981039</id><published>2026-08-25T00:00:00.000+05:30</published><updated>2026-08-25T00:00:00.345+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Number Pascal&#39;s Triangle in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Printing Pascal&#39;s Triangle is a hallmark exercise in C pattern programming that elevates your logic from basic geometric counting to applying mathematical combinatorics within dynamic nested loops&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_bde0795a73b1df5d-360&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_bde0795a73b1df5d-361&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering Pascal&#39;s Triangle tests your ability to combine mathematical formulas with symmetric layout formatting&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. In this tutorial, you will learn how to compute binomial coefficients on the fly and position them to render a balanced, scalable Pascal&#39;s Triangle based on user input&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_bde0795a73b1df5d-362&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Comfort with nested &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard input/output functions (&lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;87&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), integer arithmetic, and variable re-assignment&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-86 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-86 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQjAI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_09e8d530b06e56c5&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_bde0795a73b1df5d&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-86&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-86&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-86 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-86 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp; &amp;nbsp; 1&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-86&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-86&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   1 1 
  1 2 1 
 1 3 3 1 
1 4 6 4 1 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_bde0795a73b1df5d-363&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_bde0795a73b1df5d-364&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pascal&#39;s Triangle is a triangular array of binomial coefficients&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Each number inside the triangle is the sum of the two directly above it&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;9&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mathematically, the value at row &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;33&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;&amp;nbsp;and column &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;46&quot; data-math=&quot;j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/span&gt;&amp;nbsp;(using 0-based indexing) corresponds to the combination formula &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;112&quot; data-math=&quot;\binom{i}{j} = \frac{i!}{j!(i-j)!}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\binom{i}{j} = \frac{i!}{j!(i-j)!}.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;To avoid expensive factorial computations or memory-intensive arrays, we calculate each term iteratively from the previous term in the same row using the recurrence formula:&lt;/p&gt;&lt;div data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilhO3hBFOO5bD61sMpQ_L52SeL93mNDelt725rEWcZfb7Px-rkhzN6cs5CB2Q6NdATXFKfAQp3m3Sb4IXR9dRtW3tZ4PyZdyzo3COFW2CiqqUJvCKoqoHhq6nM2SMVn1Drwczx0AZNWd5sbqcUulUG82tKSV6pJF0QSvhTYq1vLGjgdIEBrH8Jucvo1Yuh/s319/printing-number-pascal&#39;s-triangle-in-c-Im01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Pascal&#39;s Triangle&quot; border=&quot;0&quot; data-original-height=&quot;95&quot; data-original-width=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilhO3hBFOO5bD61sMpQ_L52SeL93mNDelt725rEWcZfb7Px-rkhzN6cs5CB2Q6NdATXFKfAQp3m3Sb4IXR9dRtW3tZ4PyZdyzo3COFW2CiqqUJvCKoqoHhq6nM2SMVn1Drwczx0AZNWd5sbqcUulUG82tKSV6pJF0QSvhTYq1vLGjgdIEBrH8Jucvo1Yuh/s1600/printing-number-pascal&#39;s-triangle-in-c-Im01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;math-block&quot; data-math=&quot;\text{coef}_{j} = \text{coef}_{j-1} \times \frac{i - j + 1}{j}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;math-block&quot; data-math=&quot;\text{coef}_{j} = \text{coef}_{j-1} \times \frac{i - j + 1}{j}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;table data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row Index (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces (n−i−1)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Printed Values&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 2 1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 3 3 1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;12,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 4 6 4 1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;ul data-path-to-node=&quot;13&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;13,0,0&quot; id=&quot;p-rc_bde0795a73b1df5d-365&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;13,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Outer Loop&lt;/b&gt;: Runs from row index &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;32&quot; data-math=&quot;i = 0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 0&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;41&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;13,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;13,1,0&quot; id=&quot;p-rc_bde0795a73b1df5d-366&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Loop&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;19&quot; data-math=&quot;n - i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i - 1&lt;/span&gt;&amp;nbsp;leading spaces to keep the triangle centered&lt;/span&gt;&lt;span data-path-to-node=&quot;13,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;13,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;13,2,0&quot; id=&quot;p-rc_bde0795a73b1df5d-367&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Value Loop&lt;/b&gt;: Iterates &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;21&quot; data-math=&quot;j&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/span&gt;&amp;nbsp;from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;28&quot; data-math=&quot;0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;33&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;, computing and printing the coefficient followed by a space&lt;/span&gt;&lt;span data-path-to-node=&quot;13,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;13,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;14,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;14,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-87 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-87 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQlAI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_09e8d530b06e56c5&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_bde0795a73b1df5d&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-87&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-87&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-87 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-87&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-87&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space, coef = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;; i &amp;lt; n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces for pyramid alignment&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }

        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Calculate and print terms for row i&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;; j &amp;lt;= i; j++) {
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (j == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt; || i == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
                coef = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
            } &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;else&lt;/span&gt; {
                coef = coef * (i - j + &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;) / j;
            }
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d &quot;&lt;/span&gt;, coef);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;16&quot; id=&quot;p-rc_bde0795a73b1df5d-368&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,0,0&quot; id=&quot;p-rc_bde0795a73b1df5d-369&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Base Coefficient Initialization&lt;/b&gt;: For the first element of any row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;67&quot; data-math=&quot;j = 0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 0&lt;/span&gt;), &lt;code data-index-in-node=&quot;75&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;coef&lt;/code&gt; is set to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;90&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,1,0&quot; id=&quot;p-rc_bde0795a73b1df5d-370&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Iterative Term Calculation&lt;/b&gt;: &lt;code data-index-in-node=&quot;28&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;coef = coef * (i - j + 1) / j&lt;/code&gt; computes subsequent values efficiently without calculating full factorials, preventing integer overflow&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,2,0&quot; id=&quot;p-rc_bde0795a73b1df5d-371&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Spacing Alignment&lt;/b&gt;: Printing a trailing space after each integer (&lt;code data-index-in-node=&quot;65&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%d &quot;, coef);&lt;/code&gt;) preserves the pyramid structure&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;19,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;19,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;20&quot; id=&quot;p-rc_bde0795a73b1df5d-372&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and execute using standard GCC tooling&lt;/span&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-88 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-88 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQmgI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_09e8d530b06e56c5&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_bde0795a73b1df5d&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-88&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-88&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-88 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-89 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-89 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQmwI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_09e8d530b06e56c5&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_bde0795a73b1df5d&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-89&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-89&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-89 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-89 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-89&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-89&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;    1 
   1 1 
  1 2 1 
 1 3 3 1 
1 4 6 4 1 
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;24&quot; id=&quot;p-rc_bde0795a73b1df5d-373&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_bde0795a73b1df5d-374&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Integer Division Order&lt;/b&gt;: Writing &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;(coef / j) * (i - j + 1)&lt;/code&gt; causes premature integer truncation. Always perform multiplication before division: &lt;code data-index-in-node=&quot;141&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;coef * (i - j + 1) / j&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_bde0795a73b1df5d-375&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Factorial Overflow&lt;/b&gt;: Attempting to compute &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;42&quot; data-math=&quot;i! / (j!(i-j)!)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i! / (j!(i-j)!)&lt;/span&gt;&amp;nbsp;directly using custom factorial functions quickly overflows standard 32-bit integers for &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;147&quot; data-math=&quot;n &amp;gt; 12&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n &amp;gt; 12&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,2,0&quot; id=&quot;p-rc_bde0795a73b1df5d-376&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Misaligned Columns&lt;/b&gt;: Skipping the space inside &lt;code data-index-in-node=&quot;46&quot; data-path-to-node=&quot;26,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;%d &quot;, coef)&lt;/code&gt; turns the output into a skewed right-angled triangle rather than a centered pyramid&lt;/span&gt;&lt;span data-path-to-node=&quot;26,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,0,0&quot; id=&quot;p-rc_bde0795a73b1df5d-377&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;because the nested loops execute &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;57&quot; data-math=&quot;\frac{n(n+1)}{2}&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;\frac{n(n+1)}{2}&lt;/span&gt;&amp;nbsp;total iterations&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,1,0&quot; id=&quot;p-rc_bde0795a73b1df5d-378&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory space, using only scalar scalar integer counters&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Wrap-Up and Next Steps&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_bde0795a73b1df5d-379&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;30,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Combining arithmetic formulas directly within nested loops allows you to build complex numeric structures without heavy memory overhead&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Try extending this logic to format output dynamically for larger numbers&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_bde0795a73b1df5d-379&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_bde0795a73b1df5d-379&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/6557623354197981039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-number-pascals-triangle-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6557623354197981039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/6557623354197981039'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-number-pascals-triangle-in-c.html' title='Printing Number Pascal&#39;s Triangle in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilhO3hBFOO5bD61sMpQ_L52SeL93mNDelt725rEWcZfb7Px-rkhzN6cs5CB2Q6NdATXFKfAQp3m3Sb4IXR9dRtW3tZ4PyZdyzo3COFW2CiqqUJvCKoqoHhq6nM2SMVn1Drwczx0AZNWd5sbqcUulUG82tKSV6pJF0QSvhTYq1vLGjgdIEBrH8Jucvo1Yuh/s72-c/printing-number-pascal&#39;s-triangle-in-c-Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-3124187596348802411</id><published>2026-08-24T00:00:00.000+05:30</published><updated>2026-08-24T00:00:00.186+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Hollow Diamond in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The hollow diamond pattern is a classic logic-building exercise in C programming&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Unlike solid shape patterns, printing a hollow structure requires combining space management, structural symmetry, and conditional boundary checks (&lt;code data-index-in-node=&quot;150&quot; data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; statements) within nested loops&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_96ac87b57515bd33-340&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_96ac87b57515bd33-341&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Constructing a hollow diamond involves dividing the pattern into two symmetrical phases—an upper growing pyramid and a lower shrinking pyramid&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. The key challenge lies in replacing inner asterisks with spaces while ensuring the outer perimeter remains intact&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the mathematical logic, provides a full C implementation, and analyzes its performance complexity&lt;/span&gt;&lt;span data-path-to-node=&quot;3,5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,6&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_96ac87b57515bd33-342&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Proficiency in nested &lt;code data-index-in-node=&quot;37&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, conditional logic (&lt;code data-index-in-node=&quot;67&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt;), standard input/output (&lt;code data-index-in-node=&quot;100&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;108&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and arithmetic operations&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-82 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-82 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ8QE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0167a2e81845ee14&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_96ac87b57515bd33&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-82&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-82&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-82 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-82 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp; &amp;nbsp; *&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-82&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-82&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   * *
  *   *
 *     *
*       *
 *     *
  *   *
   * *
    *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_96ac87b57515bd33-343&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_96ac87b57515bd33-344&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an upper-half height of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;28&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n$&lt;/span&gt;, the total height of the shape is &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;64&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;rows&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. We split the rendering logic into two phases&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;9,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 1: Upper Hollow Pyramid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;31&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;n&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,0,0&quot; id=&quot;p-rc_96ac87b57515bd33-345&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Decreases each row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;36&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - i&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,1,0&quot; id=&quot;p-rc_96ac87b57515bd33-346&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Boundary Condition&lt;/b&gt;: Print &lt;code data-index-in-node=&quot;26&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*&lt;/code&gt; only at the first (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;47&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;) and last (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;64&quot; data-math=&quot;j = 2i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 2i - 1&lt;/span&gt;) column positions&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Fill all intermediate positions (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;35&quot; data-math=&quot;1 &amp;lt; j &amp;lt; 2i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 &amp;lt; j &amp;lt; 2i - 1&lt;/span&gt;) with empty spaces&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;11,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 2: Lower Inverted Hollow Pyramid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;49&quot; data-math=&quot;n - 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;11,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,0,0&quot; id=&quot;p-rc_96ac87b57515bd33-347&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Increases each row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;36&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,1,0&quot; id=&quot;p-rc_96ac87b57515bd33-348&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Boundary Condition&lt;/b&gt;: Print &lt;code data-index-in-node=&quot;26&quot; data-path-to-node=&quot;12,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*&lt;/code&gt; only at the first (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;47&quot; data-math=&quot;j = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 1&lt;/span&gt;) and last (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;64&quot; data-math=&quot;j = 2(n - i) - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j = 2(n - i) - 1&lt;/span&gt;) column positions&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Fill intermediate positions with spaces&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;13&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row Index&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Phase&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Star Indices (j)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Inner Spaces&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 7&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5 (Center)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 9&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 (Row 6)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 7&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 (Row 7)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3 (Row 8)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1, 3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4 (Row 9)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;14,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;14,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-83 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-83 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ-gE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0167a2e81845ee14&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_96ac87b57515bd33&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-83&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-83&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-83 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-83 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-83&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-83&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows for upper half: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 1: Upper Hollow Pyramid (Rows 1 to n)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print boundary asterisks and inner spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (j == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || j == (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;)) {
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
            } &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
            }
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 2: Lower Inverted Hollow Pyramid (Rows 1 to n - 1)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print boundary asterisks and inner spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i) - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (j == &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || j == (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i) - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;)) {
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
            } &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
            }
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;16&quot; id=&quot;p-rc_96ac87b57515bd33-349&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,0,0&quot; id=&quot;p-rc_96ac87b57515bd33-350&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Boundary Checks&lt;/b&gt;: The condition &lt;code data-index-in-node=&quot;31&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j == 1 || j == (2 * i - 1)&lt;/code&gt; restricts character printing solely to the edges of the shape, creating the hollow interior&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,1,0&quot; id=&quot;p-rc_96ac87b57515bd33-351&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase Split&lt;/b&gt;: Executing Phase 2 up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;37&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&amp;nbsp;prevents duplicating the central apex line&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,2,0&quot; id=&quot;p-rc_96ac87b57515bd33-352&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Row Transition&lt;/b&gt;: &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; ensures proper line breaks after completing each horizontal scan line&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;19,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;19,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;20&quot; id=&quot;p-rc_96ac87b57515bd33-353&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and execute using GCC&lt;/span&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-84 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-84 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQgAI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0167a2e81845ee14&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_96ac87b57515bd33&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-84&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-84&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-84 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-85 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-85 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQgQI&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_0167a2e81845ee14&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_96ac87b57515bd33&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-85&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-85&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-85 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-85 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-85 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-85&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-85&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows for upper half: 5
    *
   * *
  *   *
 *     *
*       *
 *     *
  *   *
   * *
    *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;24&quot; id=&quot;p-rc_96ac87b57515bd33-354&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_96ac87b57515bd33-355&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Filling the Interior&lt;/b&gt;: Omitting conditional statements within the character loop results in a standard solid diamond rather than a hollow outline&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_96ac87b57515bd33-356&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Off-by-One Boundary Errors&lt;/b&gt;: Checking &lt;code data-index-in-node=&quot;37&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j == i&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;55&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j == (2 * i - 1)&lt;/code&gt; distorts the right boundary line&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,0,0&quot; id=&quot;p-rc_96ac87b57515bd33-357&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;due to nested space allocation and character loops across &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;82&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;total iterations&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,1,0&quot; id=&quot;p-rc_96ac87b57515bd33-358&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary memory since only scalar integer counters are used&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_96ac87b57515bd33-359&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;30,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Combining boundary conditions with multi-phase nested loops provides a foundational technique for rendering custom graphical boundaries in terminal applications&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_96ac87b57515bd33-359&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;-webkit-text-decoration-skip: none; background-color: transparent; color: #1155cc; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/3124187596348802411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hollow-diamond-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3124187596348802411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3124187596348802411'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-hollow-diamond-in-c.html' title='Printing Hollow Diamond in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-3639948541683444825</id><published>2026-08-23T00:00:00.000+05:30</published><updated>2026-08-23T00:00:00.122+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Solid Diamond in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The solid diamond pattern combines two fundamental symmetric structures: an upper full pyramid and a lower inverted full pyramid&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. Mastering this shape sharpens your ability to design multi-phase loop structures, manage symmetrical alignment, and sequence mathematical boundaries&lt;/span&gt;&lt;span data-path-to-node=&quot;1,3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_a8b3608c24c23dcb-320&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_a8b3608c24c23dcb-321&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Building a solid diamond pattern requires splitting the shape into two distinct halves: a growing upper section and a shrinking lower section&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the mathematical relationships between row indexes, space padding, and asterisk counts, providing a complete C source implementation and execution breakdown&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,0,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-322&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Knowledge of nested &lt;code data-index-in-node=&quot;35&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard input/output functions (&lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;87&quot; data-path-to-node=&quot;4,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and basic conditional statements&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-78 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-78 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ1gE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_3347dff42e935d3f&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_a8b3608c24c23dcb&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-78&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-78&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-78 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-78 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp; &amp;nbsp; *&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-78&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-78&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   ***
  *****
 *******
*********
 *******
  *****
   ***
    *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;6&quot; id=&quot;p-rc_a8b3608c24c23dcb-323&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;7,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;7,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;8&quot; id=&quot;p-rc_a8b3608c24c23dcb-324&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;For an upper-half height of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;28&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n$&lt;/span&gt;, the total height of the diamond is &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;66&quot; data-math=&quot;2n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2n - 1&lt;/span&gt;&amp;nbsp;rows&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. The program executes in two sequential loop phases&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;9,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 1: Upper Pyramid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;24&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;33&quot; data-math=&quot;n&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,0,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-325&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Decreases each row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;36&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n - i$&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;10,1,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-326&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Increases in odd increments (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;2i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$2i - 1$&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;10,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;11,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Phase 2: Lower Inverted Pyramid (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;33&quot; data-math=&quot;i = 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i = 1&lt;/span&gt;&amp;nbsp;to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;42&quot; data-math=&quot;n - 1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;)&lt;/h3&gt;&lt;span data-path-to-node=&quot;11,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,0,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-327&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/b&gt;: Increases each row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;36&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;12,1,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-328&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;12,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/b&gt;: Decreases in odd increments (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;2(n - i) - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - i) - 1&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;12,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;13&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row Index&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Phase&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Asterisks&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,1,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,2,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,3,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,4,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5 (Center)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1 (Row 6)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,6,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2 (Row 7)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,7,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3 (Row 8)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,8,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4 (Row 9)&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;13,9,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 data-path-to-node=&quot;14,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;14,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-79 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-79 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ3wE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_3347dff42e935d3f&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_a8b3608c24c23dcb&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-79&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-79&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-79 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-79 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-79 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-79&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-79&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-meta&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows for upper half: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 1: Upper Full Pyramid (Rows 1 to n)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Phase 2: Lower Inverted Pyramid (Rows 1 to n - 1)&lt;/span&gt;
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i) - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;16&quot; id=&quot;p-rc_a8b3608c24c23dcb-329&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,0,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-330&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Upper Loop Phase&lt;/b&gt;: Handles rows &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;31&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&amp;nbsp;through &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;41&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;, expanding asterisks to construct the widest middle line&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,1,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-331&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Lower Loop Phase&lt;/b&gt;: Runs &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;23&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&amp;nbsp;times to avoid repeating the maximum width row, contracting asterisks down to a single vertex&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,2,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-332&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Row Formatting&lt;/b&gt;: &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; breaks lines after each iteration of the outer loops&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;19,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;19,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;20&quot; id=&quot;p-rc_a8b3608c24c23dcb-333&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;20,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and execute using standard GCC tooling&lt;/span&gt;&lt;span data-path-to-node=&quot;20,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;20,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-80 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-80 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ5QE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_3347dff42e935d3f&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_a8b3608c24c23dcb&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-80&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-80&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-80 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-81 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-81 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQ5gE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_3347dff42e935d3f&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_a8b3608c24c23dcb&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-81&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-81&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-81 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-81 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-81 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-81&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-81&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows for upper half: 5
    *
   ***
  *****
 *******
*********
 *******
  *****
   ***
    *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;24&quot; id=&quot;p-rc_a8b3608c24c23dcb-334&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-335&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Duplicate Center Line&lt;/b&gt;: Iterating the lower outer loop up to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;60&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;73&quot; data-math=&quot;n - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n - 1&lt;/span&gt;&amp;nbsp;duplicates the widest row (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;106&quot; data-math=&quot;9&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&amp;nbsp;asterisks for &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;122&quot; data-math=&quot;n = 5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n = 5&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-336&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Misaligned Offsets&lt;/b&gt;: Using &lt;code data-index-in-node=&quot;26&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;space &amp;lt; n - i&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;51&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;space &amp;lt;= n - i&lt;/code&gt; shifts the entire top half leftward relative to the bottom half&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,0,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-337&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;due to consecutive nested loop blocks iterating proportionally to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;90&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;28,1,0&quot; id=&quot;p-rc_a8b3608c24c23dcb-338&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary space requiring only scalar variables&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;29,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;29,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_a8b3608c24c23dcb-339&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;30,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Modularizing patterns into multi-phase nested loops provides the blueprint for rendering complex geometric outputs in terminal applications&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; id=&quot;p-rc_a8b3608c24c23dcb-339&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;-webkit-text-decoration-skip: none; background-color: transparent; color: #1155cc; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/3639948541683444825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-solid-diamond-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3639948541683444825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3639948541683444825'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-solid-diamond-in-c.html' title='Printing Solid Diamond in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-5560101809244318452</id><published>2026-08-22T00:00:00.000+05:30</published><updated>2026-08-22T00:00:00.127+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Inverted Full Pyramid in C | Advanced Shape Patterns</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The inverted full pyramid is a fundamental structural pattern in C programming that tests your command over multi-loop logic, decreasing iteration bounds, and symmetric space management&lt;/span&gt;&lt;span data-path-to-node=&quot;1,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;1,2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;1&quot; id=&quot;p-rc_94304412837668a3-301&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;2,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Introduction&lt;/h2&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;3&quot; id=&quot;p-rc_94304412837668a3-302&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mastering the inverted full pyramid sharpens your ability to manage dynamic loop bounds and horizontal symmetry&lt;/span&gt;&lt;span data-path-to-node=&quot;3,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial breaks down the pattern logic, line-by-line algorithm, C source code, and performance complexity required to output a flexible inverted pyramid based on user input&lt;/span&gt;&lt;span data-path-to-node=&quot;3,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;3,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_94304412837668a3-303&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: Familiarity with basic &lt;code data-index-in-node=&quot;38&quot; data-path-to-node=&quot;4,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, standard I/O (&lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;4,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;71&quot; data-path-to-node=&quot;4,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;), and integer arithmetic&lt;/span&gt;&lt;span data-path-to-node=&quot;4,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;4,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;5&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Expected Output&lt;/b&gt;:&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-74 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-74 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQvAE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d5827b1ded6f3cdc&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_94304412837668a3&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-74&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-74&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-74 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-74 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*********&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-74&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-74&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt; *******
  *****
   ***
    *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;7&quot; id=&quot;p-rc_94304412837668a3-304&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;8,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern Logic&lt;/h2&gt;&lt;span data-path-to-node=&quot;8,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;9&quot; id=&quot;p-rc_94304412837668a3-305&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;9,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;To render an inverted pyramid of height &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n$&lt;/span&gt;, track how the leading space count increases while the asterisk count decreases across rows&lt;/span&gt;&lt;span data-path-to-node=&quot;9,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;9,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;table data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces (i−1)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Asterisks (2(n−i)+1)&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;10,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;ul data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;11,0,0&quot; id=&quot;p-rc_94304412837668a3-306&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;11,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Outer Loop&lt;/b&gt;: Iterates through rows &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;34&quot; data-math=&quot;i = 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$i = 1$&lt;/span&gt; to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;43&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n$&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;11,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;11,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;11,1,0&quot; id=&quot;p-rc_94304412837668a3-307&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Spaces Loop&lt;/b&gt;: Prints &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;20&quot; data-math=&quot;i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$i - 1$&lt;/span&gt; spaces on row &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$i$&lt;/span&gt; to shift the asterisks rightward&lt;/span&gt;&lt;span data-path-to-node=&quot;11,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;11,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;11,2,0&quot; id=&quot;p-rc_94304412837668a3-308&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Asterisk Loop&lt;/b&gt;: Prints an odd sequence of asterisks given by &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;60&quot; data-math=&quot;2(n - i) + 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$2(n - i) + 1$&lt;/span&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;11,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;11,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;12,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Implementation&lt;/h2&gt;&lt;span data-path-to-node=&quot;12,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-75 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-75 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQxAE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d5827b1ded6f3cdc&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_94304412837668a3&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-75&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-75&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-75 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-75 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-75&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-75&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;

    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input. Please enter a positive integer.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt; i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * (n - i) + &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;14&quot; id=&quot;p-rc_94304412837668a3-309&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h3 data-path-to-node=&quot;15,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Code Breakdown&lt;/h3&gt;&lt;span data-path-to-node=&quot;15,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;16&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,0,0&quot; id=&quot;p-rc_94304412837668a3-310&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Offsets&lt;/b&gt;: For row &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;23&quot; data-math=&quot;i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/span&gt;, the loop runs &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;40&quot; data-math=&quot;i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i - 1&lt;/span&gt;&amp;nbsp;times to maintain vertical pyramid alignment&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,1,0&quot; id=&quot;p-rc_94304412837668a3-311&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Star Count Formula&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;20&quot; data-math=&quot;2(n - i) + 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2(n - i) + 1&lt;/span&gt;&amp;nbsp;calculates the decremental odd sequence (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;74&quot; data-math=&quot;9, 7, 5, 3, 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9, 7, 5, 3, 1&lt;/span&gt;&amp;nbsp;for &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;92&quot; data-math=&quot;n = 5&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n = 5&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;16,2,0&quot; id=&quot;p-rc_94304412837668a3-312&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Row Transition&lt;/b&gt;: &lt;code data-index-in-node=&quot;16&quot; data-path-to-node=&quot;16,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; breaks the output line after completing star output for the current row&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;16,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;17,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Execution&lt;/h2&gt;&lt;span data-path-to-node=&quot;17,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;18&quot; id=&quot;p-rc_94304412837668a3-313&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compile and execute the program using standard GCC tools&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;:&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-76 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-76 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQygE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d5827b1ded6f3cdc&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_94304412837668a3&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-76&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-76&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-76 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;20&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Console Output&lt;/b&gt;:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code-block&gt;&lt;/response-element&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-77 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-77 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQywE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_d5827b1ded6f3cdc&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_94304412837668a3&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-77&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-77&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-77 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-77 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3578594610=&quot;&quot; _nghost-ng-c2501665546=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-17&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3578594610-77 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-77&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-77&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5
*********
 *******
  *****
   ***
    *
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;22&quot; id=&quot;p-rc_94304412837668a3-314&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;h2 data-path-to-node=&quot;23,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes &amp;amp; Troubleshooting&lt;/h2&gt;&lt;span data-path-to-node=&quot;23,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,0,0&quot; id=&quot;p-rc_94304412837668a3-315&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Incorrect Formula&lt;/b&gt;: Using &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;25&quot; data-math=&quot;2n - 2i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$2n - 2i$&lt;/span&gt; instead of &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;44&quot; data-math=&quot;2(n - i) + 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$2(n - i) + 1$&lt;/span&gt; produces even numbers of stars, distorting the central vertex&lt;/span&gt;&lt;span data-path-to-node=&quot;24,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,1,0&quot; id=&quot;p-rc_94304412837668a3-316&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Line Breaks&lt;/b&gt;: Forgetting &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;24,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;);&lt;/code&gt; causes all symbols to print on a single continuous horizontal line&lt;/span&gt;&lt;span data-path-to-node=&quot;24,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;25,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/h2&gt;&lt;span data-path-to-node=&quot;25,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;ul data-path-to-node=&quot;26&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,0,0&quot; id=&quot;p-rc_94304412837668a3-317&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;due to nested space and star loop execution over &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;73&quot; data-math=&quot;n&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;n&lt;/span&gt;&amp;nbsp;iterations&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;26,1,0&quot; id=&quot;p-rc_94304412837668a3-318&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;26,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;auxiliary space as it executes using scalar integer variables&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;26,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-path-to-node=&quot;27,0&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/h2&gt;&lt;span data-path-to-node=&quot;27,1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;p data-path-to-node=&quot;28&quot; id=&quot;p-rc_94304412837668a3-319&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Understanding inverse pattern formulas provides a foundation for complex ASCII graphics and symmetric layout algorithms in lower-level programming&lt;/span&gt;&lt;span data-path-to-node=&quot;28,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;28,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p data-path-to-node=&quot;28&quot; id=&quot;p-rc_94304412837668a3-319&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;28,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/5560101809244318452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-inverted-full-pyramid-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/5560101809244318452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/5560101809244318452'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-inverted-full-pyramid-in-c.html' title='Printing Inverted Full Pyramid in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-1047880119763736907</id><published>2026-08-21T00:00:00.000+05:30</published><updated>2026-08-21T00:00:00.198+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Printing Full Pyramid in C | Advanced Shape Patterns</title><content type='html'>&lt;p data-path-to-node=&quot;2&quot; id=&quot;p-rc_52dadd4ff3d5d71c-254&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; text-align: justify;&quot;&gt;&lt;span data-path-to-node=&quot;2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Learn to print a full pyramid star pattern in C, boosting your loop logic and conditional reasoning&lt;/span&gt;&lt;span data-path-to-node=&quot;2,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;2,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. This tutorial describes the pattern, its complexity, its significance in learning C programming, and its relevance for building logic, conditionals, and problem-solving skills&lt;/span&gt;&lt;span data-path-to-node=&quot;2,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;2,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Introduction&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; id=&quot;p-rc_52dadd4ff3d5d71c-255&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;5&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;5,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-256&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Hook&lt;/b&gt;: Mastering the full pyramid star pattern introduces new concepts like applying conditions or managing symmetry with visual appeal&lt;/span&gt;&lt;span data-path-to-node=&quot;5,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;5,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-257&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;What You Will Learn&lt;/b&gt;: The purpose of this post is to teach how to create the specific pattern using more intricate logic, such as nested loops with conditions or managing spaces&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;. The objective is to understand and implement the code for the specific pattern&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1,0,3&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,1,0,4&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;5,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-258&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;5,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Prerequisites&lt;/b&gt;: This level assumes knowledge of basic &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;5,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/code&gt; loops, &lt;code data-index-in-node=&quot;64&quot; data-path-to-node=&quot;5,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt;, &lt;code data-index-in-node=&quot;72&quot; data-path-to-node=&quot;5,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/code&gt;, &lt;code data-index-in-node=&quot;79&quot; data-path-to-node=&quot;5,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if-else&lt;/code&gt; statements, and functions&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;5,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;5,3,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Final Output&lt;/b&gt;:&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-72 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-72 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQiwE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_4338a9c9efd81b20&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_52dadd4ff3d5d71c&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-72&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-72&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-72 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-72 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;nbsp; &amp;nbsp; *&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-72&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-72&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;   ***
  *****
 *******
*********
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;5,3,2&quot; id=&quot;p-rc_52dadd4ff3d5d71c-259&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;6&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Deconstructing the Pattern: The Logic&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;7&quot; id=&quot;p-rc_52dadd4ff3d5d71c-260&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;8&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-261&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The Visual Representation&lt;/b&gt;: The pattern displays a symmetric structure with clearly marked rows and columns (e.g., Row 1, Row 2, Column 1, etc.)&lt;/span&gt;&lt;span data-path-to-node=&quot;8,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-262&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Problem Statement&lt;/b&gt;: The program prints a dynamic full pyramid based on user input, detailing rules for centered alignment and symbol placement&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Pattern Analysis &amp;amp; Logic&lt;/b&gt;:&lt;/p&gt;&lt;ul data-path-to-node=&quot;8,2,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,2,1,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-263&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,2,1,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Rows and columns are identified to explain how loops run and how spaces and elements are arranged&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,2,1,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-264&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,2,1,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conditional logic utilizes statements to determine what is printed&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,2,1,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-265&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,2,1,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Multi-loop logic requires more than two simple loops, breaking down the roles of each loop for rows, spaces, and pattern characters&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,2,1,3,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-266&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,2,1,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Mathematical formulas calculate elements like the number of spaces (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;68&quot; data-math=&quot;n - i&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$n - i$&lt;/span&gt;) and characters (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;91&quot; data-math=&quot;2i - 1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;$2i - 1$&lt;/span&gt;)&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,2,1,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,3,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-267&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Step-by-Step Explanation/Algorithm&lt;/b&gt;: Outlines pseudocode detailing structure, symmetry, alignment, and logic for spaces, symbols, and print order&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;8,4,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-268&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;8,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Table/Diagrams&lt;/b&gt;: A table maps row vs. column values and how values change based on conditions, supported by logic diagrams&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;8,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;table data-path-to-node=&quot;9&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-bottom: 32px; margin-top: 0px !important;&quot;&gt;&lt;thead style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Row (i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Leading Spaces (n−i)&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;strong style=&quot;line-height: 1.15 !important; margin-bottom: 0px !important; margin-top: 0px !important;&quot;&gt;Asterisks (2i−1)&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,1,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,1,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,2,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,2,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,3,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,3,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,4,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,4,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,5,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,5,1,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(196, 199, 197); line-height: 1.15 !important; margin-top: 0px !important; padding: 8px 12px;&quot;&gt;&lt;span data-path-to-node=&quot;9,5,2,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p data-path-to-node=&quot;10&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;10&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;The Code Implementation&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;11&quot; id=&quot;p-rc_52dadd4ff3d5d71c-269&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-73 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block ng-tns-c3578594610-73 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi766rB1KKWAxUAAAAAHQAAAAAQmgE&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_4338a9c9efd81b20&amp;quot;,&amp;quot;c_78efffae1a707ca2&amp;quot;,null,&amp;quot;rc_52dadd4ff3d5d71c&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3578594610-73&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;animated-opacity ng-tns-c3578594610-73&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3578594610-73 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;div _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;buttons ng-tns-c3578594610-73 ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;ng-tns-c3578594610-73&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;code _ngcontent-ng-c3578594610=&quot;&quot; class=&quot;code-container formatted ng-tns-c3578594610-73&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;int&lt;/span&gt; n, i, j, space;
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Enter the number of rows: &quot;&lt;/span&gt;);
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;scanf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;%d&quot;&lt;/span&gt;, &amp;amp;n) != &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt; || n &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;Invalid input.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;;
    }
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= n - i; space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;// Print asterisks&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;for&lt;/span&gt; (j = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;; j &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;1&lt;/span&gt;); j++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;*&quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;p data-path-to-node=&quot;14&quot; id=&quot;p-rc_52dadd4ff3d5d71c-271&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;15&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-272&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Comments&lt;/b&gt;: Inline comments explain each key line of code, loop conditions, and &lt;code data-index-in-node=&quot;78&quot; data-path-to-node=&quot;15,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt; statements&lt;/span&gt;&lt;span data-path-to-node=&quot;15,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-273&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Explanation&lt;/b&gt;: An in-depth breakdown of variable initialization, loop iterations, printing behavior, and the role of &lt;code data-index-in-node=&quot;115&quot; data-path-to-node=&quot;15,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;)&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-274&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Modularization&lt;/b&gt;: Utilizing functions or arrays/pointers if relevant to intermediate patterns&lt;/span&gt;&lt;span data-path-to-node=&quot;15,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;15,3,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-275&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;15,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;15,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Visual Explanation&lt;/b&gt;: Includes dry-run tables for key iterations tracking values of &lt;code data-index-in-node=&quot;82&quot; data-path-to-node=&quot;15,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt;, &lt;code data-index-in-node=&quot;85&quot; data-path-to-node=&quot;15,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt;, and condition results&lt;/span&gt;&lt;span data-path-to-node=&quot;15,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;15,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;16&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;16&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Sample Output or Compiling and Running the Program&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;17&quot; id=&quot;p-rc_52dadd4ff3d5d71c-276&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-277&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;User Input&lt;/b&gt;: The user types &lt;code data-index-in-node=&quot;27&quot; data-path-to-node=&quot;18,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Enter the number of rows: 5&lt;/code&gt; into the console&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-278&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Program Output&lt;/b&gt;: Displays the exact expected console output matching the final output block&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-279&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Edge Cases &amp;amp; Input Validation&lt;/b&gt;: Discusses handling edge cases like invalid input, large inputs, zero, or negative numbers&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,3,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-280&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Compiling and Running&lt;/b&gt;: Instructions on compiling with &lt;code data-index-in-node=&quot;54&quot; data-path-to-node=&quot;18,3,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;gcc&lt;/code&gt; and running executable binaries&lt;/span&gt;&lt;span data-path-to-node=&quot;18,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;18,4,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-281&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;18,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;18,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Output Analysis&lt;/b&gt;: Shows expected outputs for different inputs like &lt;code data-index-in-node=&quot;66&quot; data-path-to-node=&quot;18,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;size=5&lt;/code&gt; and &lt;code data-index-in-node=&quot;77&quot; data-path-to-node=&quot;18,4,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;size=10&lt;/code&gt;, highlighting symmetries and row-by-row structure&lt;/span&gt;&lt;span data-path-to-node=&quot;18,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;18,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;19&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;19&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Variations and Enhancements&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;20&quot; id=&quot;p-rc_52dadd4ff3d5d71c-282&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-283&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Challenge&lt;/b&gt;: Modify the code to create an inverted version of the full pyramid&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-284&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Modify the Character&lt;/b&gt;: Replace the &lt;code data-index-in-node=&quot;34&quot; data-path-to-node=&quot;21,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;*&lt;/code&gt; with a different character or number&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-285&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Change the Logic&lt;/b&gt;: Modify &lt;code data-index-in-node=&quot;25&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf&lt;/code&gt; to display alternative sequences like &lt;code data-index-in-node=&quot;70&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i&lt;/code&gt; instead of &lt;code data-index-in-node=&quot;83&quot; data-path-to-node=&quot;21,2,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j&lt;/code&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,3,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-286&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Advanced Concepts&lt;/b&gt;: Adapt the code to use arrays or pointers&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;21,4,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-287&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;21,4,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Customization Tips&lt;/b&gt;: Adjust symbol, size, alignment, or shape for filled, mirrored, or hollow forms&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;21,4,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;22&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Common Mistakes and Troubleshooting&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;23&quot; id=&quot;p-rc_52dadd4ff3d5d71c-288&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;24&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-289&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Missing Newline&lt;/b&gt;: Forgetting the &lt;code data-index-in-node=&quot;32&quot; data-path-to-node=&quot;24,0,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;printf(&quot;\n&quot;)&lt;/code&gt; statement&lt;/span&gt;&lt;span data-path-to-node=&quot;24,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-290&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Incorrect Loop Conditions&lt;/b&gt;: Loop condition typos like &lt;code data-index-in-node=&quot;53&quot; data-path-to-node=&quot;24,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;i &amp;lt;= n&lt;/code&gt; or &lt;code data-index-in-node=&quot;63&quot; data-path-to-node=&quot;24,1,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;j &amp;lt;= i&lt;/code&gt; that disrupt pattern layout&lt;/span&gt;&lt;span data-path-to-node=&quot;24,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-291&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Typical Errors&lt;/b&gt;: Off-by-one errors in loop ranges or incorrect space logic&lt;/span&gt;&lt;span data-path-to-node=&quot;24,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;24,3,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-292&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;24,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;24,3,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Solutions&lt;/b&gt;: Before-and-after code examples explaining how to fix loop ranges and extra characters&lt;/span&gt;&lt;span data-path-to-node=&quot;24,3,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;24,3,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;25&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;25&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Complexity Analysis&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;26&quot; id=&quot;p-rc_52dadd4ff3d5d71c-293&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;27&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;27,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-294&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;27,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;27,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Time Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;17&quot; data-math=&quot;O(n^2)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(n^2)&lt;/span&gt;&amp;nbsp;for nested loops analyzing loop depth&lt;/span&gt;&lt;span data-path-to-node=&quot;27,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;27,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;27,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-295&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;27,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;27,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Space Complexity&lt;/b&gt;: &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;18&quot; data-math=&quot;O(1)&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;O(1)&lt;/span&gt;&amp;nbsp;space complexity, noting scalar variable use&lt;/span&gt;&lt;span data-path-to-node=&quot;27,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;27,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;27,2,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-296&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;27,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;27,2,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Optimization Tips&lt;/b&gt;: Reducing complexity or using formulas for faster execution&lt;/span&gt;&lt;span data-path-to-node=&quot;27,2,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;27,2,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;28&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;28&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Conclusion&lt;/b&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;29&quot; id=&quot;p-rc_52dadd4ff3d5d71c-297&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;ul data-path-to-node=&quot;30&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,0,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-298&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,0,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Summary&lt;/b&gt;: Understanding multiple nested loops is the key to solving these intermediate patterns&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,0,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/source-inline-chip&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;p data-path-to-node=&quot;30,1,0&quot; id=&quot;p-rc_52dadd4ff3d5d71c-299&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;span data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;30,1,0,0&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;Call to Action&lt;/b&gt;: Try the next pattern in the series or share your own variations, teasing the next pattern: &quot;Inverted Pyramid&quot;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,1&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;source-footnote _nghost-ng-c2318457044=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;sup _ngcontent-ng-c2318457044=&quot;&quot; class=&quot;superscript&quot; style=&quot;font-size: 16px !important; line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;!----&gt;&lt;/sup&gt;&lt;/source-footnote&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/span&gt;&lt;span data-path-to-node=&quot;30,1,0,2&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;.&lt;/span&gt;&lt;sources-carousel-inline _nghost-ng-c746355749=&quot;&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;  &lt;source-inline-chip _ngcontent-ng-c746355749=&quot;&quot; _nghost-ng-c3839862124=&quot;&quot; class=&quot;ng-star-inserted&quot; style=&quot;line-height: 1.15 !important; margin-top: 0px !important;&quot;&gt;&lt;/source-inline-chip&gt;&lt;/sources-carousel-inline&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-5a2177ad-7fff-2d9b-6fe1-fedd72f892c1&quot;&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/1047880119763736907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-full-pyramid-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1047880119763736907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/1047880119763736907'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/printing-full-pyramid-in-c.html' title='Printing Full Pyramid in C | Advanced Shape Patterns'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4851956796326782150.post-3829766174559314052</id><published>2026-08-20T13:21:00.000+05:30</published><updated>2026-08-20T13:21:00.240+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCode"/><category scheme="http://www.blogger.com/atom/ns#" term="PatternProgramsInC"/><title type='text'>Writing a Modular Diamond Pattern Program Using Helper Functions in C</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj2APB7xrYYgeXhD09yZckMUC1xcBYD5-sjnpgjMhGcqRkxpDEhBRv6JvMSoLp8aXNThJaRc1Ktig2xbLaKk5s81zGRUg-gwqA1x-3ebOsKF_slVfJsibxASciC30Z_HA0D-1bdRh38OCkc6VxZmrPQ2R9HbzTXfgR14rGyBZlUg3ijy17OaWUjpWiGX8I/s1408/8051MT-PPIC-FunsPgms-A03_Im01.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Writing a Modular Diamond Pattern Program Using Helper Functions in C&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1408&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj2APB7xrYYgeXhD09yZckMUC1xcBYD5-sjnpgjMhGcqRkxpDEhBRv6JvMSoLp8aXNThJaRc1Ktig2xbLaKk5s81zGRUg-gwqA1x-3ebOsKF_slVfJsibxASciC30Z_HA0D-1bdRh38OCkc6VxZmrPQ2R9HbzTXfgR14rGyBZlUg3ijy17OaWUjpWiGX8I/w400-h219/8051MT-PPIC-FunsPgms-A03_Im01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot;&gt;When you venture into advanced pattern programming in C, few shapes test your logic quite like the &lt;/span&gt;&lt;b data-index-in-node=&quot;99&quot; data-path-to-node=&quot;2&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;diamond&lt;/b&gt;&lt;span face=&quot;&amp;quot;Google Sans Text&amp;quot;, sans-serif&quot;&gt;. A diamond pattern is symmetrical, intricate, and combines two distinct geometric structures: an upright pyramid for the top half and an inverted pyramid for the bottom half.&lt;/span&gt;&lt;/p&gt;&lt;p data-path-to-node=&quot;3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; text-align: justify;&quot;&gt;If you attempt to write a diamond pattern using monolithic code inside &lt;code data-index-in-node=&quot;71&quot; data-path-to-node=&quot;3&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;main()&lt;/code&gt;, your script quickly becomes a dense maze of nested loops and manual spacing calculations. Worse, if you need to change the size or symbol, updating the code becomes error-prone.&lt;/p&gt;&lt;p data-path-to-node=&quot;4&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; text-align: justify;&quot;&gt;In this guide, we will explore how to write a clean, elegant, and fully modular diamond pattern program in C by leveraging reusable helper functions and clear separation of concerns.&lt;/p&gt;&lt;h2 data-path-to-node=&quot;6&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;1. Understanding the Anatomy of a Diamond&lt;/h2&gt;&lt;p data-path-to-node=&quot;7&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Before writing any code, let&#39;s break down how a diamond of height &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;66&quot; data-math=&quot;N&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$N$&lt;/span&gt; (where &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;75&quot; data-math=&quot;N&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$N$&lt;/span&gt; represents the number of rows in the upper half) is constructed:&lt;/p&gt;&lt;ul data-path-to-node=&quot;8&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;8,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;The Upper Pyramid:&lt;/b&gt; Consists of rows where spaces decrease (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;59&quot; data-math=&quot;N - i&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$N - i$&lt;/span&gt;) and stars increase (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;86&quot; data-math=&quot;2i - 1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$2i - 1$&lt;/span&gt;).&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;8,1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;The Lower Inverted Pyramid:&lt;/b&gt; Consists of rows where spaces increase (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;68&quot; data-math=&quot;N - i&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$N - i$&lt;/span&gt;) and stars decrease (&lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;95&quot; data-math=&quot;2i - 1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$2i - 1$&lt;/span&gt;), running backward from &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;126&quot; data-math=&quot;N - 1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$N - 1$&lt;/span&gt; down to &lt;span class=&quot;math-inline&quot; data-index-in-node=&quot;140&quot; data-math=&quot;1&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;$1$&lt;/span&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;9&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Instead of mixing these two distinct behaviors into one massive loop block, we can design two specialized helper functions: one for the upper triangle and one for the lower triangle.&lt;/p&gt;&lt;h2 data-path-to-node=&quot;11&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;2. Designing the Modular Architecture&lt;/h2&gt;&lt;p data-path-to-node=&quot;12&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;To keep our code clean, we will structure our program into three components:&lt;/p&gt;&lt;ol data-path-to-node=&quot;13&quot; start=&quot;1&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;13,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printUpperPyramid()&lt;/code&gt;:&lt;/b&gt; Handles the growing upper section.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;13,1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,1,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printLowerPyramid()&lt;/code&gt;:&lt;/b&gt; Handles the shrinking lower section.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;13,2,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,2,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;13,2,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printDiamond()&lt;/code&gt; (The Orchestrator):&lt;/b&gt; Calls both helper functions sequentially to render the complete diamond, accepting height and symbol parameters.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 data-path-to-node=&quot;15&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;3. Complete Code Implementation&lt;/h2&gt;&lt;p data-path-to-node=&quot;16&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Here is how you implement a fully modular diamond generator in C:&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3788586330=&quot;&quot; class=&quot;ng-tns-c3788586330-323 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;code-block ng-tns-c3788586330-323 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwib8YTizPmVAxUAAAAAHQAAAAAQmwo&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_a517914638445228&amp;quot;,&amp;quot;c_863d44700e87b757&amp;quot;,null,&amp;quot;rc_a809028721ce6bed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3788586330-323&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;animated-opacity ng-tns-c3788586330-323&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3788586330-323 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;buttons ng-tns-c3788586330-323 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;gem-icon-button _ngcontent-ng-c3788586330=&quot;&quot; _nghost-ng-c1256235956=&quot;&quot; aria-describedby=&quot;cdk-describedby-message-ng-1-20&quot; arialabel=&quot;Copy code&quot; cdk-describedby-host=&quot;ng-1&quot; class=&quot;mat-mdc-tooltip-trigger copy-button ng-tns-c3788586330-323 gem-button gem-button-badge-size-small gem-button-size-small gem-button-type-on-surface lm-enabled ng-star-inserted&quot; data-test-id=&quot;gem-copy-button&quot; fonticonname=&quot;copy&quot; gemtooltip=&quot;Copy code&quot; size=&quot;small&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot; tabindex=&quot;-1&quot; theme=&quot;lm&quot; type=&quot;onSurface&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;/gem-icon-button&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;ng-tns-c3788586330-323&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;code-container formatted ng-tns-c3788586330-323&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span class=&quot;hljs-meta&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;#&lt;span class=&quot;hljs-meta-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;hljs-meta-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Helper Function 1: Prints the upper pyramid&lt;/span&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printUpperPyramid&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;(&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; n, &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;char&lt;/span&gt; symbol)&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; i = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; i &amp;lt;= n; i++) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= (n - i); space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Print symbols&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; star = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; star &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;); star++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;%c&quot;&lt;/span&gt;, symbol);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }
}

&lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Helper Function 2: Prints the lower inverted pyramid&lt;/span&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printLowerPyramid&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;(&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; n, &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;char&lt;/span&gt; symbol)&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; i = n - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; i &amp;gt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; i--) {
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Print leading spaces&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; space = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; space &amp;lt;= (n - i); space++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot; &quot;&lt;/span&gt;);
        }
        &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Print symbols&lt;/span&gt;
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; star = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;; star &amp;lt;= (&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;2&lt;/span&gt; * i - &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;1&lt;/span&gt;); star++) {
            &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;%c&quot;&lt;/span&gt;, symbol);
        }
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;\n&quot;&lt;/span&gt;);
    }
}

&lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Master Orchestration Function: Combines helpers to form a diamond&lt;/span&gt;
&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printDiamond&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;(&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; height, &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;char&lt;/span&gt; symbol)&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;if&lt;/span&gt; (height &amp;lt;= &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/span&gt;) {
        &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;Error: Height must be greater than zero.\n&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;return&lt;/span&gt;;
    }

    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Render Upper Half&lt;/span&gt;
    printUpperPyramid(height, symbol);
    
    &lt;span class=&quot;hljs-comment&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;// Render Lower Half&lt;/span&gt;
    printLowerPyramid(height, symbol);
}

&lt;span class=&quot;hljs-function&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-title&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;hljs-params&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;()&lt;/span&gt; &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;int&lt;/span&gt; size = &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;4&lt;/span&gt;;
    
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;--- Generating a Diamond (Size: %d, Symbol: *) ---\n\n&quot;&lt;/span&gt;, size);
    printDiamond(size, &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;*&#39;&lt;/span&gt;);
    
    &lt;span class=&quot;hljs-built_in&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;printf&lt;/span&gt;(&lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&quot;\n--- Generating a Diamond (Size: 3, Symbol: #) ---\n\n&quot;&lt;/span&gt;);
    printDiamond(&lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&#39;#&#39;&lt;/span&gt;);

    &lt;span class=&quot;hljs-keyword&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;0&lt;/span&gt;;
}
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h3 data-path-to-node=&quot;18&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;Output&lt;/h3&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c3788586330=&quot;&quot; class=&quot;ng-tns-c3788586330-324 enable-luminous-code-block ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;code-block ng-tns-c3788586330-324 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwib8YTizPmVAxUAAAAAHQAAAAAQnAo&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:[[&amp;quot;r_a517914638445228&amp;quot;,&amp;quot;c_863d44700e87b757&amp;quot;,null,&amp;quot;rc_a809028721ce6bed&amp;quot;,null,null,&amp;quot;en&amp;quot;,null,1,null,null,1,0]]&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c3788586330-324&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;animated-opacity ng-tns-c3788586330-324&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c3788586330-324 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;div _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;buttons ng-tns-c3788586330-324 ng-star-inserted&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;--- Generating a Diamond (Size: 4, Symbol: *) ---&lt;/div&gt;&lt;/div&gt;&lt;pre _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;ng-tns-c3788586330-324&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;code _ngcontent-ng-c3788586330=&quot;&quot; class=&quot;code-container formatted ng-tns-c3788586330-324&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;
   *
  ***
 *****
*******
 *****
  ***
   *

--- Generating a Diamond (Size: 3, Symbol: #) ---

    #
  ###
#####
  ###
    #
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;h2 data-path-to-node=&quot;21&quot; style=&quot;font-family: &amp;quot;Google Sans&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;4. Why Modularizing Complex Patterns Matters&lt;/h2&gt;&lt;ul data-path-to-node=&quot;22&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px; padding-inline-start: 32px;&quot;&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;22,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22,0,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Divide and Conquer:&lt;/b&gt; Breaking a complex shape into two smaller, manageable helper functions (&lt;code data-index-in-node=&quot;92&quot; data-path-to-node=&quot;22,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printUpperPyramid&lt;/code&gt; and &lt;code data-index-in-node=&quot;114&quot; data-path-to-node=&quot;22,0,0&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;printLowerPyramid&lt;/code&gt;) completely eliminates cognitive overload. You can debug each half independently.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;22,1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22,1,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Reusability:&lt;/b&gt; If you ever need to print a standalone pyramid or an inverted triangle elsewhere in your application, your helper functions are already built and ready to use.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;p data-path-to-node=&quot;22,2,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;22,2,0&quot; style=&quot;line-height: 1.15; margin-top: 0px;&quot;&gt;Maintainability:&lt;/b&gt; If a bug occurs in the spacing or boundary logic, you know precisely which helper function to fix without tearing apart your entire orchestration layer.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;23&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;By mastering helper functions and clean architecture, even the most intricate pattern challenges become simple, structured, and fun to solve!&lt;/p&gt;&lt;p data-path-to-node=&quot;23&quot; style=&quot;font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif; line-height: 1.15; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For all Pattern Programs list &lt;/span&gt;&lt;a href=&quot;https://8051microcontrollertutorial.blogspot.com/2024/12/PPICILA202412S00-00Article.html&quot; style=&quot;text-decoration: none;&quot; target=&quot;_blank&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1155cc; font-size: 11pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;…till the next post, bye-bye &amp;amp; take care&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://8051microcontrollertutorial.blogspot.com/feeds/3829766174559314052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/8051MT-PPIC-FunsPgms-A03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3829766174559314052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4851956796326782150/posts/default/3829766174559314052'/><link rel='alternate' type='text/html' href='http://8051microcontrollertutorial.blogspot.com/2026/08/8051MT-PPIC-FunsPgms-A03.html' title='Writing a Modular Diamond Pattern Program Using Helper Functions in C'/><author><name>belgaumboy</name><uri>http://www.blogger.com/profile/15320153949194349874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qHPfOqcXnrf4RQexKumsRCb3itZ0N2RqY3Js5UwCbz5I02edEOG8BYalUEzbwjeCDoFUxij0VE9DPIgc07bs2-GuOmiK069O6cRR3_evy3u9lurd2DCl5TSZgs55rQ/s220/Ganapati+055.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj2APB7xrYYgeXhD09yZckMUC1xcBYD5-sjnpgjMhGcqRkxpDEhBRv6JvMSoLp8aXNThJaRc1Ktig2xbLaKk5s81zGRUg-gwqA1x-3ebOsKF_slVfJsibxASciC30Z_HA0D-1bdRh38OCkc6VxZmrPQ2R9HbzTXfgR14rGyBZlUg3ijy17OaWUjpWiGX8I/s72-w400-h219-c/8051MT-PPIC-FunsPgms-A03_Im01.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>