Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
- #include <math.h>
- void f(int broj) {
- for(int i = broj; i > 0; i--) {
- for(int j = 0; j < i; j++) {
- printf("%d ", i);
- }
- }
- }
- int main(int argc, char * argv[]) {
- f(4);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement