Program to print the Diamond Shape :- #include int main() { int i, j, n; printf(\"Enter a positive int number greater than one to print the Diamond Shape : \"); scanf(\"%d\", &n); //To Print the upper pyramid for(i=1; i<=n; i++) { for(j=i; j=1; i--) { for(j=i; j<=n; j++) { printf(\" \"); } for(j=2; j<(2*i-1); j++) { printf(\"*\"); } printf(\"\ \"); } return 0; } Solution Program to print the Diamond Shape :- #include int main() { int i, j, n; printf(\"Enter a positive int number greater than one to print the Diamond Shape : \"); scanf(\"%d\", &n); //To Print the upper pyramid for(i=1; i<=n; i++) { for(j=i; j=1; i--) { for(j=i; j<=n; j++) { printf(\" \"); } for(j=2; j<(2*i-1); j++) { printf(\"*\"); } printf(\"\ \"); } return 0; }.