-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPractise_day_1.c
More file actions
78 lines (44 loc) · 832 Bytes
/
Practise_day_1.c
File metadata and controls
78 lines (44 loc) · 832 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
70
71
72
73
74
75
76
77
78
#include<stdio.h>
int main()
{
int number;
int i;
scanf("%d", &number);
for ( i = 1; i <= number; i++)
{
if (i % 5 == 0)
{
printf("%d%s\n", i," Yes");
}
else
{
printf("%d%s\n", i," No");
}
}
return 0;
}
// 2nd challenge
// int a;
// int b;
// scanf("%d %d", &a, &b);
// int sum = a + b;
// printf("%d", sum);
// return 0;
// 3rd challaenge
// int n ;
// int i ;
// scanf("%d", &n);
// for(i = 0; i < n; i++)
// {
// printf("%s\n", "I love Practise");
// }
// return 0 ;
// 4th challaenge
// int a ;
// long long int b;
// float c;
// char d;
// scanf("%d %lld %f %c",&a,&b,&c,&d);
// printf("%d\n%lld\n%.2f\n%c\n", a, b, c, d);
// return 0;
// 5th challaenge