#include <iostream> using namespace std; int main() { int i = 0; switch(i) { case 0: break; case 0: break; } // your code goes here return 0; }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:8:3: error: duplicate case value case 0: break; ^ prog.cpp:7:3: error: previously used here case 0: break; ^
Standard output is empty