Skip to content
Snippets Groups Projects
Commit cf9878e4 authored by Stanisław Pokora's avatar Stanisław Pokora
Browse files

Upload New File

parent ccea5c42
Branches
No related merge requests found
lab4a.c 0 → 100644
#include <stdio.h>
#include <stdlib.h>
int main(){
int x=1;
printf("Podaj liczbe dodatnia calkowita: ");
scanf("%x",&x);
int y=1;
for (int i=1; i<=x; i++){
y*=i;
}
printf("Silnia z %i to: %i", x, y);
return 0;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment