Tag: Print Figures
Posts of Tag: Print Figures
  1. C Program to Print India Map

    In this article I am sharing the program to print India map. If you like it, please do share it!#include <stdio.h> main() { int a, b, c; int count = 1; for (b = c = 10; a = "- FIGURE?, UMKC,X...Learn More
    C ProgramsC++ ProgramsPrint FiguresProgramming Languages
  2. Program for Pascal Triangle in C and C++

    Program for Pascal Triangle in C and C++ Here I have shared simple program for pascal triangle in C and C++. Basically Pascal’s triangle is a triangular array of binomial coefficients. An example for how pascal...Learn More
    C ProgramsC++ ProgramsPrint FiguresProgramming Languages
  3. C++ program to print following square using character *

    **C++ program to print following square using character *** #include <iostream.h> #include <conio.h> void main() { clrscr(); //to clear the screen int i, j, n; cout << "Enter size...Learn More
    C++ ProgramsPrint FiguresProgramming Languages
  4. C++ program to print the following design

    C++ program to print the following design AABABCABCDABCDE Code: #include <iostream.h> #include <conio.h> void main() { int i, j, n; char ch; cout << "How many lines(ex 5) :"; ...Learn More
    C ProgramsPrint FiguresProgramming Languages
  5. C program to print following square using character *

    **C program to print following square using character *** #include <stdio.h> #include <conio.h> void main() { int i, j, n; clrscr(); //to clear the screen printf("Enter size of the squ...Learn More
    C ProgramsPrint FiguresProgramming Languages
  6. C++ program to print the following design:

    C++ program to print the following design: #include <iostream.h> #include <conio.h> void main() { clrscr(); //to clear the screen int i, j, k, n; cout << "How many lines?"; ci...Learn More
    C++ ProgramsPrint FiguresProgramming Languages
  7. C/C++ Program to Print Following Pattern

    C/C++ Program to Print Following Pattern Here I am sharing the C and C++ program to print the pattern shown in below image. This pattern is printed using stars (*). It has two parts, the lower half is just opp...Learn More
    C++ ProgramsC ProgramsPrint FiguresProgramming Languages
  8. C++ Program to print following triangle:

    C++ Program to print following triangle:       *     **   *** ****code: #include <iostream.h> #include <conio.h> void main() { clrscr(); int i, n, j, k; ...Learn More
    C++ ProgramsPrint FiguresProgramming Languages
  9. C/C++ Program to Print Following Pattern

    C/C++ Program to Print Following Pattern ABCDEFGFEDCBA ABCDEF  FEDCBA ABCDE     EDCBA ABCD         DCBA ABC             CBA AB     &nb...Learn More
    C++ ProgramsPrint FiguresProgramming Languages
  10. C program to print following triangle:

    **C program to print following triangle:** #include #include void main() { int i,j,k,n,a,b; clrscr(); printf(“How many lines?”); scanf(“%d”,&n); n=n*2; for(i=1;i { for(j=n-1;j>i;j-=2) printf(” ...Learn More
    C ProgramsPrint FiguresProgramming Languages
  11. C++ Program to print following triangle:

    C++ Program to print following triangle:  * ** *** **** ***** #include <iostream.h> #include <conio.h> void main() { clrscr(); int n, i, j; cout << "Ener size of Triangle(ex-...Learn More
    C++ ProgramsPrint FiguresProgramming Languages
  12. C program to print following trianlge using character *

    **C program to print following trianlge using character *** #include #include void main() { int i,j,k,n; clrscr(); //to clear the screen printf(“How many lines?”); scanf(“%d”,&n); for(i=0;i { print...Learn More
    C ProgramsPrint FiguresProgramming Languages