Triangle-Computer Fundamentals and Programming-Coding Assignment Solution, Exercises of Computer Engineering and Programming

Kapish Gupta assigned programming task at Assam Don Bosco University. This code was developed and compiled in Borland. It includes: Triangle, Printf, Scanf, Number, Getch, Programming, Language

Typology: Exercises

2011/2012

Uploaded on 07/28/2012

dewansh
dewansh 🇮🇳

4.4

(10)

89 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
9
#include<stdio.h>
#include<conio.h>
void main()
{
int r=1;
clrscr();
while (r<=8)
{
int a=1;
while (a<=r)
{
printf ("*");
a=a+1;
}
printf ("\n");
r=r+1;
}
getch();
}
Triangle
docsity.com

Partial preview of the text

Download Triangle-Computer Fundamentals and Programming-Coding Assignment Solution and more Exercises Computer Engineering and Programming in PDF only on Docsity!

#include<stdio.h> #include<conio.h> void main() { int r=1; clrscr(); while (r<=8) { int a=1; while (a<=r) { printf ("*"); a=a+1; } printf ("\n"); r=r+1; } getch(); }

Triangle

docsity.com