Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
int main()
{
for (int i = 0; i < 4; ++i)
{
switch (i)
{
case 0 : std::cout << "0";
case 1 : std::cout << "1"; continue;
case 2 : std::cout << "2"; break;
default : std::cout << "D"; break;
}
std::cout << ".";
}
return 0;
}
Enter to Rename, Shift+Enter to Preview
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content