answersLogoWhite

0

#include <iostream>

int main() {

std::cout << "1 121 12321 1234321" << std::endl;

return 0;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Math & Arithmetic

How the pin no is generated in the ATM?

there is a programming code for it which takes 16 digit as input , plays with it in a c programme and gives a 4 digit output...........


How To Create Pyramid 1 11 121 1221 12321 In C?

To create the pyramid pattern of numbers 1, 11, 121, 1221, 12321 in C, you can use nested loops. The outer loop iterates through the rows, while the inner loop builds each row by printing numbers from 1 up to the current row index and then back down to 1. Here's a simple code snippet: #include &lt;stdio.h&gt; int main() { for (int i = 1; i &lt;= 5; i++) { for (int j = 1; j &lt;= i; j++) printf(&quot;%d&quot;, j); for (int j = i-1; j &gt;= 1; j--) printf(&quot;%d&quot;, j); printf(&quot;\n&quot;); } return 0; } This code will output the desired pyramid pattern.


What is swift code for scotia bank in Winnipeg Canada?

This website gives you all of the wift code. For Winnipeg is NOSCCATTWPG http://swift-codes.blogspot.com/2008/04/swift-code-list-canada-financial.html


A boy asks a girl her name and she gives her name as a code in a message as 7.1 7.3 4.3 9.3 2.1?

sriya


How do you assign output in C plus plus?

To have your program output to a file you must do the following :First you must write the library that allows the use of files#include This will allow you to use the necessary codes to input or output to filesThen in your program you write the following codeofstream outfile("statistic.txt");This declares the assigned file for output. Here statistic.txt is the assign file. The program will send the output to that file.To send the output to the assigned file instead of the screen do the following:Instead of "cout

Related Questions

What is the password to power lines 3?

Code- 123321


How the pin no is generated in the ATM?

there is a programming code for it which takes 16 digit as input , plays with it in a c programme and gives a 4 digit output...........


Is a bar code printer input or output?

A bar code printer or any kind of printer is an output device.


What is the code to change the font of the output in c plus plus?

There is no generic code to change the typeface of the console output, nor indeed any output window. To change the typeface you must use platform-specific code. That is, the code required to change the output typeface in Windows is completely different to that of Unix-based systems.


How To Create Pyramid 1 11 121 1221 12321 In C?

To create the pyramid pattern of numbers 1, 11, 121, 1221, 12321 in C, you can use nested loops. The outer loop iterates through the rows, while the inner loop builds each row by printing numbers from 1 up to the current row index and then back down to 1. Here's a simple code snippet: #include &lt;stdio.h&gt; int main() { for (int i = 1; i &lt;= 5; i++) { for (int j = 1; j &lt;= i; j++) printf(&quot;%d&quot;, j); for (int j = i-1; j &gt;= 1; j--) printf(&quot;%d&quot;, j); printf(&quot;\n&quot;); } return 0; } This code will output the desired pyramid pattern.


Differentiate between relocatable and self relocatable programs?

relocatable code is code where final output of the assembly phase,ready to be used an input to loader. self relocatable is the code where output of the code is ready to use any point


What is icd-9 code for decreased urine output?

Decreased urine output is also known as Oliguria. Renal malfunctions or dehydration can cause Oliguria. The ICD-9 code for decreased urine output/oliguria is 788.5.


Why is object code necessary?

Object code is necessary, because object code is the actual instructions, or machine language, that the computer executes. Object code is the output of the compiler, as it translates the higher level language into the machine language. It is also the output of the linker, as it combines object code modules from the compiler output and the various libraries in its process of building a fully linked load module.


How can you found color code for CZL-601?

Red: Input ( + ) Black: Input ( - ) Green: Output ( + ) White: Output ( - )


Is binary code an input or output device?

Binary code is not a device. It is a numerical representation of data.


What is the output of the parser from a compiler?

The output of an assembler is a part or all of a product. An assembler can work in a variety of manufacturing operations with the right training.


How do you create a program that will display output?

It must use a function with a "return" statement. Or you could output via console. (.NET CODE(C#)) Console.WriteLine("Output.");