Wednesday, October 7, 2020

C Square Star Pattern

 CODE :-#include <stdio.h> int main() { int i, j, num; printf("Enter a number: "); scanf("%d",&num); printf("\n"); for(i = 0; i <...

C Inverted Pyramid Star Pattern

 CODE :-#include<stdio.h> int main() { int i, j, k, m = 10; for(i = 1;i <= 5;i++) { for(j = 1;j...

C Mirrored Rhombus Star Pattern

 CODE :-#include<stdio.h> int main() { int i, j, k, num, n; printf("\nEnter a number: "); scanf("%d",&num); printf("\n"); n = num; for(i...

C Mirrored Hollow Rhombus Star Pattern

 CODE :-#include<stdio.h> int main() { int i, j, k, num; printf("\nEnter a number: "); scanf("%d",&num); printf("\n"); for(i = 0; i <...

C Diamond Star Pattern

 CODE :-#include<stdio.h> int main() { int i, j, k, m = 8; for(i = 1;i <= 5;i++) { for(j = 5;j...

Tuesday, October 6, 2020

Hollow Diamond Square Star Pattern In C

 CODE :-#include<stdio.h> int main() { int i, j, k, m, a = 1,b = 0; for(i = 5;i > 0;i--) {...

Page 1 of 212»