Untitled

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> int main(){ int rc; scanf("%d", &rc); int chr = 64, num = 0; for(int i= 1; i <= rc; i++){ num+=i; for(int j = chr + 1; j <= chr + i; j++){ printf("%c*", j); } int nc = 1; for(int k = num; k >num-i; k--){ if(nc == i){ printf("%d",k); }else{ printf("%d*",k); } nc+=1; } chr+=i; printf("\n"); } }
Editor Settings
Theme
Key bindings
Full width
Lines