Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
223 B
1
Indexable
Never
#include <stdio.h>

int main()
{
	char a, dem = 0;
	scanf ("%d", &a);
	
	for(char i = a; i>= 1; i--)
	{	
		for(char j = dem; j<= a-1 ; j++ )
		{
		printf("%c", j*2 + 'A' );
		}
		printf("\n");
		dem ++;
	}
}