C Program to Print Square With Diagonal Numbers Pattern
Write a C Program to print square with diagonal numbers pattern. Or C program to print the square with all zeros except the pattern of the diagonal numbers using for loop. #include <stdio.h> int main() { int rows; printf(“Enter Square with Diagonal Numbers Side = “); scanf(“%d”, &rows); printf(“Square with Numbers in Diaginal and Remaining … Read more