Skip to content
Snippets Groups Projects
Commit 31a5e22c authored by Kacper Śmieżewski's avatar Kacper Śmieżewski
Browse files

zad1

parent 385283e8
Branches
No related merge requests found
#include <stdio.h>
#include <stdlib.h>
int main(){
int x=1;
printf("Podaj liczbe: ");
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