Update cv1/program.c

This commit is contained in:
Yurii Yakovenko 2024-10-01 20:15:33 +00:00
parent a8bb5d67d2
commit caa0a26353

View File

@ -1,6 +1,7 @@
#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>
#include <string.h>
//
bool check(char* s2, char *pz)
{
@ -13,7 +14,7 @@ bool check(char* s2, char *pz)
{
return false;
}
char shifer[85]="oizeasbtbq";
char shifer[15]="oizeasbtbq";
for(int i = 0; s2[i]!='\0'; i++)
{
@ -33,10 +34,9 @@ bool check(char* s2, char *pz)
}
int main()
{
char r[3000];//="8ryNd20va P1zza";
char pizz[990];//="piz";
{
char r[300];//="8ryNd20va P1zza";
char pizz[50];//="piz";
char *p;
float price;
int count =0;
@ -45,8 +45,7 @@ int main()
printf("Zadaj␣jedalny␣listok:\n");
while(1)
{
{
do
{
p=fgets(r, 299, stdin);