golf.c
This commit is contained in:
parent
b4d8b803af
commit
66527c007a
13
c05_expression/golf.c
Normal file
13
c05_expression/golf.c
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user