Anonymous
public text v1 · immutable#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--;
}
}
}
#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--;
}
}
}