C program to Print Sandglass Number Pattern
Write a C program to print sandglass number pattern using for loop. #include <stdio.h> int main() { int i, j, k, rows; printf(“Enter Sandglass Number Pattern Rows = “); scanf(“%d”,&rows); printf(“The Sandglass Number Pattern\n”); for (i = 1 ; i <= rows; i++ ) { for (j = 1; j < i; j++ ) { … Read more