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

Function numbers

Project_New_Year_Congratulation/new_year.cpp:42–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void numbers()
43{
44 int time = 10;
45 Sleep(1000);
46 while (time >= 0)
47 {
48 Sleep(1000);
49 time--;
50 cout << endl;
51 switch (time)
52 {
53 case 9:
54 {
55 system("cls");
56 cout << endl;
57 SetColor(9);
58 cout << "\t\t\t\t\t\t\t\t\t 999999999 " << endl;
59 SetColor(10);
60 cout << "\t\t\t\t\t\t\t\t\t 99:::::::::99 " << endl;
61 SetColor(11);
62 cout << "\t\t\t\t\t\t\t\t\t 99:::::::::::::99 " << endl;
63 SetColor(12);
64 cout << "\t\t\t\t\t\t\t\t\t 9::::::99999::::::9 " << endl;
65 SetColor(13);
66 cout << "\t\t\t\t\t\t\t\t\t 9:::::9 9:::::9 " << endl;
67 SetColor(14);
68 cout << "\t\t\t\t\t\t\t\t\t 9:::::9 9:::::9 " << endl;
69 SetColor(15);
70 cout << "\t\t\t\t\t\t\t\t\t 9:::::99999::::::9 " << endl;
71 SetColor(9);
72 cout << "\t\t\t\t\t\t\t\t\t 99::::::::::::::9 " << endl;
73 SetColor(10);
74 cout << "\t\t\t\t\t\t\t\t\t 99999::::::::9 " << endl;
75 SetColor(11);
76 cout << "\t\t\t\t\t\t\t\t\t 9::::::9 " << endl;
77 SetColor(12);
78 cout << "\t\t\t\t\t\t\t\t\t 9::::::9 " << endl;
79 SetColor(13);
80 cout << "\t\t\t\t\t\t\t\t\t 9::::::9 " << endl;
81 SetColor(14);
82 cout << "\t\t\t\t\t\t\t\t\t 9::::::9 " << endl;
83 SetColor(15);
84 cout << "\t\t\t\t\t\t\t\t\t 9::::::9 " << endl;
85 SetColor(9);
86 cout << "\t\t\t\t\t\t\t\t\t 9999999 " << endl;
87 background();
88 }
89 break;
90 case 8:
91 {
92 system("cls");
93 cout << endl;
94 SetColor(9);
95 cout << "\t\t\t\t\t\t\t\t\t 888888888 " << endl;
96 SetColor(10);
97 cout << "\t\t\t\t\t\t\t\t\t 88:::::::::88 " << endl;
98 SetColor(14);
99 cout << "\t\t\t\t\t\t\t\t\t 88:::::::::::::88 " << endl;

Callers 1

mainFunction · 0.85

Calls 2

SetColorFunction · 0.85
backgroundFunction · 0.85

Tested by

no test coverage detected