sunny_jain
4 Files
509 Views
Latest files of sunny_jain
1. PRINT HALLOW DIAMOND PATTERN USING WHILE LOOP | Owner: sunny_jain | Views: 110 | Comments: 0 | Open/ Source 985 B
// using while loop to make a hollow diamond pattern #include <stdio.h> int main() { int n = 5, rows = 1, columns;
2. PRINT HALLOW DIAMOND PATTERN BY FOR LOOP IN C | Owner: sunny_jain | Views: 155 | Comments: 2 | Open/ Source 869 B
// using for loop #include <stdio.h> int main() { int n = 5, rows, columns; for (rows = 1; rows<= n; rows++) {