Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Help me test C language.
Help me test C language.
You change it to my answer-!

1, integer character type double precision floating point type single precision floating point type enumeration type (five basic data types, as well as structure type, pointer type and empty type)

2、0 1 0

3、0

4、8

5、5 0 2004

6. Line feed and backspace

7、 1 1 10

8、3

9、5

10、4

Second,

1、B

2, d (leave two spaces at the beginning and two spaces between each character)

3. The correct answer is 12.

4、B

Third,

1, GOODGOODGOODGOODEND (4 good ends)

2. Left side

3、** 1

4、bbdd

Four?

five

1. "It's best to run TC2 yourself for this kind of problem."

# include & ltstdio.h & gt

int main()

{

int x,y;

scanf("%d ",x);

if(x & lt; 0)

y = 4 * x+5;

else if(x==0)

y = 0;

other

y = 4 * x-5;

printf("y=%d\n ",y);

Returns 0;

}

2 、# include & ltstdio.h & gt

int main()

{

int x=0,y;

do

{

y = x * x * x

If (x==y)

printf("%d\n ",x);

x++;

}while( 1)

Returns 0;

}

3、# include & ltstdio.h & gt

int main()

{

int i,score[5],sum=0,aver,lower

for(I = 0; I<5; i++)

{

scanf("%d ",score[I]);

sum+= a[I];

}

for(i= 1,lower = a[0]; I<5; i++)

{

if(lower & gt; =a[i])

Lower limit = a [I];

}

aver = sum/5;

Printf ("sum is %d", sum);

Printf(" aver is %d ",aver);

Printf ("lower limit is %d", lower limit);

Returns 0;

}

4、# include & ltstdio.h & gt

int main()

{

int a[3],max

for(I = 0; I<3; i++)

{

scanf("%d ",a[I]);

}

max = a[0];

for(I = 1; I<3; i++)

{

if(a[I]& gt; = Maximum)

max = a[I];

}

Printf ("maximum value is %d", max);

Returns 0;

}