C programming Bangla Tutorial 5.147 : Pattern | part-6

preview_player
Показать описание
All C programming videos:
Рекомендации по теме
Комментарии
Автор

Amar life e puro saviour hisabe entry holo apnar sir // 🙏

babi
Автор

In Java
import java.util.Scanner;
public class Main{
public static void main(String[]args){
Scanner input = new Scanner(System.in);
int n;
System.out.print("Enter n: ");
n = input.nextInt();
for(int row =1; row<=n; row++){
for(int col=1;col <= n-row;col++){
System.out.print(" ");
}
for(int col=1; col<=row;col++){
System.out.print(col+" ");
}
System.out.println("");
}
}
}

rinkusarker
Автор

দোয়া করি, আল্লাহ যেনো আপনাকে আপনার কষ্টের প্রতিদান দান করেন..!
জাযাকুমুল্লাহু খাইরান

md.rayhanhossain
Автор

#include<stdio.h>

int main()
{
for(int r=1;r<=5;r++)
{
for(int c=1;c<=5-r;c++)
{
printf(" ", c);
}
for(int c=1;c<=r;c++)
{
printf("%d", c);
}
printf("\n");
}
return 0;
}

yiasinarafat
Автор

sir amar apnar video gulo onk vhalo lage sharadin boshe boshe dekhleo birokto lage na

mdal-amin
Автор

vaia plz give me pattam 7, C programming

Fgaun_With_Bugs
Автор

oneke may be java er jonno ekhane suddenly aschen . tader jonno

public class VariousPattern {


public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter line number : ");
System.out.println("");
int n = input.nextInt();

for(int row = 1;row<=n;row++){
for(int col=1;col <= n-row ; col++)
{System.out.print(" ");}
for(int col=1;col<=row;col++){
System.out.print(" "+col);}
System.out.println("");
}

}

}

zabermahmudneel
Автор

Khub bhalo kintu series niye video dile bhalo hoy

chhanditatalapatara
Автор

ke ke ei video 2020 a dektechen hat tulen

raihanation
Автор

number gular majhe gap dawar kono system ase sir?

Mr-qllt
Автор

Sir binary left angle triangle niye problem e porechi .
If ((row+col)%2==0)
Printf ("1");
Else
Printf ("0");
Eivabe koreo milate pari ni sir

NadimMahmudNion
Автор

#include <stdio.h>
int main()
{
int n, row, col;
printf("Enter N : ");
scanf("%d", &n);
for (row = 1; row <= n; row++)
{
for (col = 1; col <= n-row; col++)
{
printf(" ");
}
for (col = 1; col <= row; col++)
{
printf("%d ", col);
}
printf("\n");
}
}
Output :
Enter N : 5
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
codeblocks vs code same output dekhacche
problem ta kothay?

nayeemi
join shbcf.ru