Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int i;
- int j;
- for(i=0;i<10;i=i+2) {
- printf("\n");
- for(j=i;j<9;j=j+1) {
- printf("*");
- }
- }
- for(i=3;i<11;i=i+2) {
- printf("\n");
- for(j=i;j>0;j=j-1) {
- printf("*");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement