test
This commit is contained in:
commit
2493c2e634
BIN
cv1/program
Executable file
BIN
cv1/program
Executable file
Binary file not shown.
27
cv1/program.c
Normal file
27
cv1/program.c
Normal file
@ -0,0 +1,27 @@
|
||||
#include <stdio.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#define size 100
|
||||
|
||||
struct pizza {
|
||||
char meno[size];
|
||||
float price;
|
||||
};
|
||||
|
||||
int main() {
|
||||
|
||||
struct pizza listok[size];
|
||||
char input[100]= {0};
|
||||
char keyword[size] = {0};
|
||||
|
||||
printf("Zadaj hladanu surovinu:");
|
||||
|
||||
fgets(keyword, sizeof(keyword), stdin);
|
||||
|
||||
printf("%s", keyword);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user