Daily C++ Challenge – Day 905

Today marks the 905th day of learning programming with the cool drizzle!

Hello, everyone! This is the GESP202509 Level 2 problem.

Day 905

Daily C++ Challenge - Day 905Daily C++ Challenge - Day 905

GESP202509 Level 2

True/False Question

Question 2

In the C++ code, assuming N is a positive integer greater than 100, the expression N / 100 will discard the units and tens digits. For example, if N is 1234, then cout << (N / 100) will output 12. If N is less than 100, the value will be 0.

Answer: True

START OF SPRING

Solution: If N > 100, the result is the hundreds digit, effectively discarding the units and tens digits. If N is 1234, the integer division of N by 100 results in 12. If N < 100, then N / 100 results in 0.

Daily C++ Challenge - Day 905

20

25

11

Daily C++ Challenge - Day 905

NOVEMBER

Day

Monday

Tuesday

Wednesday

Thursday

Friday

Saturday

Sunday

1

12

2

13

3

14

4

15

5

16

6

17

7

Beginning of Winter

8

Chinese Journalist Day

9

Fire Safety Day

10

21

11

22

12

23

13

24

14

25

15

26

16

27

17

28

18

29

19

30

20

October

21

2nd

22

Light Snow

23

4th

24

5th

25

6th

26

7th

27

Thanksgiving

28

9th

29

10th

30

11

Cool Drizzle

Cool Drizzle

Open Wisdom Station

Daily C++ Challenge - Day 905

Leave a Comment