Update cv1/program.c

This commit is contained in:
Yurii Yakovenko 2024-10-01 19:13:33 +00:00
parent 2422f297f6
commit 058d465404

View File

@ -1,9 +1,13 @@
#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>
// /
//
bool check(char* s2, char *pz)
{
if(s2==NULL || pz==NULL)
{
return false;
}
char *s=(char*) malloc(strlen(s2)+1);
if(s==NULL)
{
@ -30,8 +34,8 @@ bool check(char* s2, char *pz)
int main()
{
char r[300];//="8ryNd20va P1zza";
char pizz[99];//="piz";
char r[3000];//="8ryNd20va P1zza";
char pizz[990];//="piz";
char *p;
float price;
int count =0;