17 lines
260 B
C
17 lines
260 B
C
|
//
|
||
|
// Created by bruno on 12/18/23.
|
||
|
//
|
||
|
|
||
|
#include "for.h"
|
||
|
#include "stdio.h"
|
||
|
|
||
|
int for_cyklus(){
|
||
|
int target;
|
||
|
|
||
|
printf("Do akého čísla počítať?");
|
||
|
scanf("%d", &target);
|
||
|
|
||
|
for(int i = 1; i <= target; i++){
|
||
|
printf("%d\n", i);
|
||
|
}
|
||
|
}
|