All pastes #426916 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-06 14:10 UTC
rendered paste body
#include <stdio.h>

int main()
{
	int size, i;
	printf("Please enter the triangle size: ");
	scanf("%d", &size);

	while(size)
	{
	for(i=0; i<size; i++)
	{
	putchar('$');
	printf("\n");
	size--;
	} 
	}

}