
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
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
1 / 1
This page cannot be seen from the preview
Don't miss anything!

#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(); }