Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int i , j , n;
- n=5;
- for(i=1;i<=n;i++){
- for(j=1;j<=5;j++){
- if(j>=i) printf("&");
- else printf(" ");
- }
- printf("\n");
- }
- }
- //&&&&&
- // &&&&
- // &&&
- // &&
- // &
Advertisement
Add Comment
Please, Sign In to add comment