0.10个A
1.0个B
2.a,b,c
3.a=14,b=3,c=9。
4.z = ( x > -x) ? x : -x;
5.
A:if (size > 12)
{
cost = cost * 1.05;
}
esle
{
flag = 2;
bill = cost * flag;
}
B:if(ibes > 14)
{
sheds = 3;
help = 2 * sheds;
}
esle
{
sheds = 2;
help = 2 *sheds;
}
C:readin:scanf("%d",&score);
scanf("%d",&score);
while(score >= 0)
{
count++;
scanf("%d",score);
}
printf("count = %d\n",count);				
			
		666				
			
		打卡				
			
		{:10_323:}				
			
		10
10
abc
b=5,c=9,a=14
x>0?z=x;:z=-x;
#include <stdio.h>
void main()
{
      double a=10000,b=10000;
      int c=0;
      while(a>=b){a+=10000*10/100;b+=b*5/100;c++;}
      printf("%d %.2f %.2f",c,a,b);
}
#include <stdio.h>
void main()
{
      double a=400;
      int c=0;
      while(a>0){
                a-=50;
                a=a+a*8/100;
                c++;
      }
      printf("%d\n",c);
}
#include <stdio.h>
#include <math.h>
void main()
{
      double a=1;
      double b;
      int c=-1;
      int d=0;
      while(fabs(1/a)>pow(10,-8))
      {
                b+=(1/a)*pow(c,d);
                d++;
                a+=2;
      }
      printf("%.7f",b);
}
				
			
		answer				
			
		看答案				
			
		I love FishC.com!				
			
		{:10_250:}				
			
		我想看看看看看				
			
		100, 10				
			
		#include <stdio.h>
#include <math.h>
int main()
{
        float PI=0, j=0, i=0;
        int fenmu = 1, count=0;
        do
        {        
                count ++;
                j = (float)1/fenmu;
                if (count%2==0)
                {
                        j = -j;
                }
                PI = PI + j;
                fenmu += 2; 
                i = fabs(j);
                printf("%0.8f\n",i);
        }while (i>10^(-8));
        printf("PI = %f\n", PI);
        return 0;
}				
			
		执行了goto语句之后,到达标签地点的程序执行完毕,还会回到goto向下执行嘛?还是在标签点向下执行啊?
				
			
		1				
			
		10				
			
		0. 100个
1. 0个 因为i++是先判断i的值再进行自增,所以不会进入循环?
2. l-value是a
3. a=1, b=6, c=10
4.
z = (x >= 0) ? x : (-x);
5.
A.
if (size > 12)
{
    cost *= 1.05;
    flag = 2;
}
bill = cost * flag;
B.
if (ibex > 14)
{
    sheds = 3;
}
sheds = 2;
help = 2 * sheds;
C.
if (score < 0)
{
    printf("count = %d\n", count);
}
count ++;
scanf("%d", &score);				
			
		0.ch >= '0' && ch <= '9'
只有当输入为数字时,才会执行语句A。
1.B在执行到i=1的时候卡死
A能执行下去
for 语句和 while 语句执行过程的区别在于出现 continue 语句时。在 for 语句中,continue 语句跳过循环的剩余部分,直接回到调整部分。在 while 语句中,调整部分是循环体的一部分,因此 continue 语句会把它也跳过
2.4次
很多次(实际上我测试了一下是 1078 次),很多朋友回答 4 次,那是你想当然的把 i 看成整数了,注意这里是浮点数。
3.小于0或者字符 输入的值只要不是自然数,程序就能正常退出
4.1.0
3.6
4.6
4.6
5
				
			
		拾遗 				
			
		让我康康				
			
		kankan