# Contains? & ltiostream & gt
int? Master ()
{
int? I,j,n,m,e,sl,o,h;
Printf ("Please enter n \ n");
scanf("%d ",& ampn);
Charles? SZ[ 100][ 100];
int? hzb[ 100]={0},zzb[ 100]= { 0 };
for(I = 0; I & ltn;; i++)
{
Printf ("Please enter %d array status \n", i);
scanf("%s ",SZ[I]);
}
Printf ("Please enter m \ n");
scanf("%d ",& ampm);
while(m & gt; 1)
{
e = 0;
for(I = 0; I & ltn;; i++)
{
for(j = 0; j & ltn; j++)
{
//Look for people who have the flu on their first day.
if(sz[i][j]=='@ ')
{
hzb[e]= I;
zzb[e]= j;
e++;
}
}
}
for(I = 0; Me & lte;; i++)
{
o = hzb[I];
h = zzb[I];
//Judge whether the patient, neighbor and the last line are infected.
If (o>= 1. & ampsz[o- 1][h]== ' . ')
{
SZ[o- 1][h]= ' @ ';
}
//judge whether the patient, neighbor, and left column are infected or not.
If (h>= 1. & ampsz[o][h- 1]== ' . ')
{
SZ[o][h- 1]= ' @ ';
}
//Judge whether the patient, neighbor and right column are infected or not.
//h+ 1 & lt; =n- 1, and the number of columns cannot exceed the given range.
if(h+ 1 & lt; = n- 1 & amp; & ampsz[o][h+ 1]== ' . ')
{
SZ[o][h+ 1]= ' @ ';
}
//Judge the patient, neighbor, next line, whether someone, someone, another infection.
if(o+ 1 & lt; = n- 1 & amp; & ampsz[o+ 1][h]== ' . ')
{
SZ[o+ 1][h]= ' @ ';
}
}
m-;
}
sl = 0;
for(I = 0; I & ltn;; i++)
{
for(j = 0; j & ltn; j++)
{
if(sz[i][j]=='@ ')
{
sl++;
}
}
}
Printf ("The total number of people who get flu every m days is ***%d \n", SL);
System ("suspended");
Return? 0;
C language is process-oriented, so it should not be able to complete the input part of the console, so it needs C++ to complete the input part. C++ compiler environment can compile C language for your reference.