https://codetofun.com/cpp/number-pattern/program-9/
C Number Pattern 9