Compare commits
No commits in common. "4ceaaf7f37860da265f26cd0a53f187f58bb586e" and "b4d8b803afa1530047014b728be389bef98f1c19" have entirely different histories.
4ceaaf7f37
...
b4d8b803af
@ -1,13 +0,0 @@
|
||||
/* golf.c - 高尔夫锦标赛记分卡 */
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
int jane, tarzan, cheeta;
|
||||
|
||||
cheeta = tarzan = jane = 68;
|
||||
printf("\t\t\tcheeta\t\ttarzan\t\tjane\n");
|
||||
printf("First round score\t%4d\t%8d\t%8d\n", cheeta, tarzan, jane);
|
||||
|
||||
return 0;
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
/* squares.c - 计算1~20的平方 */
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
int num = 1;
|
||||
|
||||
while (num < 21)
|
||||
{
|
||||
printf("%4d\t%6d\n", num, num * num);
|
||||
num = num + 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user