MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / numbers_view

Function numbers_view

Project_New_Year_Congratulation/only_numbers.cpp:17–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void numbers_view()
18{
19 int time = 10;
20 Sleep(1000);
21 while (time >= 0)
22 {
23 cout << "\rTimer: " << setw(5) << time << flush;
24 Sleep(1000);
25 time--;
26 const char* num9[] =
27 {
28 " ",
29 " 999999999 ",
30 " 99:::::::::99 ",
31 " 99:::::::::::::99 ",
32 " 9::::::99999::::::9 ",
33 " 9:::::9 9:::::9 ",
34 " 9:::::9 9:::::9 ",
35 " 9:::::99999::::::9 ",
36 " 99::::::::::::::9 ",
37 " 99999::::::::9 ",
38 " 9::::::9 ",
39 " 9::::::9 ",
40 " 9::::::9 ",
41 " 9:::::9 ",
42 " 9:::::9 ",
43 " 9999999 ", NULL
44 };
45 const char* num8[] =
46 {
47 " ",
48 " 888888888 ",
49 " 88:::::::::88 ",
50 " 88:::::::::::::88 ",
51 " 8::::::88888::::::8 ",
52 " 8:::::8 8:::::8 ",
53 " 8:::::8 8:::::8 ",
54 " 8:::::88888:::::8 ",
55 " 8:::::::::::::8 ",
56 " 8:::::88888:::::8 ",
57 " 8:::::8 8:::::8 ",
58 " 8:::::8 8:::::8 ",
59 " 8::::::88888::::::8 ",
60 " 88:::::::::::::88 ",
61 " 88:::::::::88 ",
62 " 888888888 ", NULL
63 };
64 const char* num7[] =
65 {
66 " ",
67 " 77777777777777777777",
68 " 7::::::::::::::::::7",
69 " 7::::::::::::::::::7",
70 " 777777777777:::::::7",
71 " 7::::::7 ",
72 " 7::::::7 ",
73 " 7::::::7 ",
74 " 7::::::7 ",

Callers 1

main1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected