0
C++ question is in description.
. 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 solve with for and if else in c++
10 Answers
+ 1
You can post your try here and we will help you.
+ 1
did you even try to make it?
0
?
0
Your code
0
yeah,i'll try
talk about logic
firstly we need to create spaces
then print these values
but i don't know how to print
0
#include <iostream>
and in the main function
std::cout<<"your text";
you can also print values of variables
Have a look at the C++ course here on Sololearn first, there you can find how to print
0
Preet Aman
I hope you know how to print first half of
this code
i mean this one
1
12
123
1234
following code will help you print second part.
This part will be at the end of the "main" for loop, no need to change anything
for( int k=1; k<i; k++)
cout << i;
0
here i see that when row =column
its ok
but when column!>row value is less(decreased)
0
so doubt cleared?
0
need time