-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path12-8.c
More file actions
69 lines (65 loc) · 814 Bytes
/
12-8.c
File metadata and controls
69 lines (65 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
//int main()
//{
// int a = 0;
// scanf("%d", &a);
// if (a % 2 == 1)
// {
// printf("¸ÃÊýÎªÆæÊý!");
// }
// else printf("¸ÃÊýΪżÊý!");
//
// return 0;
//}
//int main()
//
//
// {
// int a = 1;
// while (a < 100)
// {
//
// printf("%d\n", a);
// a = a + 2;
// }
// return 0;
//}
//int main()
//{
// int arr[4] = { 0 };
// int i = 0;
// while (i < 4)
// {
// scanf("%d", &arr[i]);
// i++;
// }
// int max = arr[0];
// i = 1;
// while (i < 4)
// {
// if (arr[i] > max)
// {
// max = arr[i];
// }
// i++;
// }
// printf("%d\n", max);
// return 0;
//}
//int main()
//{
// int a=0;
// int n=0;
// int ret=1;
// int b=0;
//
// scanf("%d", &n);
// for (a = 1; a <= n; a++)
// {
// ret = ret * a;
// b += ret;
// }
// printf("%d", b);
// return 0;
//}