C Primer 复习题

2.4

#include<stdio.h>
int main(void)
{
    int s;
    s = 52;
    printf("There are %d weeks in a year.",s);
    return 0;
}

2.5

a.Baa Baa Blacke Sheep.Have you any wool?

b.Begone!nO creature of lard!

c.What?

No/nfish?

d.2+2=4

2.6 都是

2.7

int n,m;

n=3020;

m=250;

printf("There were %d words and %d 350 lines",n,m);

2.8

猜你喜欢

转载自www.cnblogs.com/Civitate/p/11621646.html