CodeMarshal Solution সংখ্যার পিরামিড (Pyramid of Numbers) - In C Progamming - Online Judge Solution

Latest

It is a free Online judges problems solution list. Here you can find UVA online Judge Solution, URI Online Judge Solution, Code Marshal Online Judge Solution, Spoz Online Judge Problems Solution

Tuesday, May 9, 2017

CodeMarshal Solution সংখ্যার পিরামিড (Pyramid of Numbers) - In C Progamming

CodeMarshal Solution সংখ্যার পিরামিড (Pyramid of Numbers) - In C Progamming


CodeMarshal Online Judge Solution  Pyramid of Numbers
CodeMarshal Main Problem Link - https://algo.codemarshal.org/problems/556cc4ac2251f00300a82f6f

Problem Name: CodeMarshal Problem   সংখ্যার পিরামিড (Pyramid of Numbers)
Problem Number : CodeMarshal Problem   সংখ্যার পিরামিড (Pyramid of Numbers)
Online Judge : CodeMarshal Online Judge Solution
Solution Language : C

CodeMarshal Solution সংখ্যার পিরামিড (Pyramid of Numbers) - In C Progamming

CodeMarshal Solution সংখ্যার পিরামিড (Pyramid of Numbers)  Code in C:


#include<stdio.h>

int main ()
{
    int i, n, number;

    scanf("%d", &n);

    for(i = 1; i <= n; i++)
    {
        int testNo;
        scanf("%d", &testNo);
        printf("Case %d:\n", i);

        int j, k;

        for(j = 1; j <= testNo; j++)
        {
            for(k = 1; k<= j; k++)
            {
                printf("%d", k);
            }
            printf("\n");
        }

    }
    return 0;
}


Tag : CodeMarshal Solution in C, Codemarshal সংখ্যার পিরামিড (Pyramid of Numbers)  in C, Codemarshal Pyramid of Number solution,

No comments:

Post a Comment