Language: C++

using namespace std;

int main(){
          int N;
	cin>>N;
if(N==1)
 cout<<1<<endl;
else if(N==2)
 cout<<2<<endl;
else if(N==3)
 cout<<4<<endl;
else if(N==4)
 cout<<6<<endl;
else if(N==5)
 cout<<16<<endl;
else if(N==6)
 cout<<12<<endl;
else if(N==7)
 cout<<64<<endl;
else if(N==8)
 cout<<24<<endl;
else if(N==9)
 cout<<36<<endl;
else if(N==10)
 cout<<48<<endl;
else if(N==11)
 cout<<1024<<endl;
else (N==12)
 cout<<72<<endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin>>N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:2: error: 'cout' was not declared in this scope
    7 |  cout<<1<<endl;
      |  ^~~~
a.cc:7:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:11: error: 'endl' was not declared in this scope
    7 |  cout<<1<<endl;
      |           ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:9:2: error: 'cout' was not declared in this scope
    9 |  cout<<2<<endl;
      |  ^~~~
a.cc:9:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:11: error: 'endl' was not declared in this scope
    9 |  cout<<2<<endl;
      |           ^~~~
a.cc:9:11: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:11:2: error: 'cout' was not declared in this scope
   11 |  cout<<4<<endl;
      |  ^~~~
a.cc:11:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:11: error: 'endl' was not declared in this scope
   11 |  cout<<4<<endl;
      |           ^~~~
a.cc:11:11: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:13:2: error: 'cout' was not declared in this scope
   13 |  cout<<6<<endl;
      |  ^~~~
a.cc:13:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:11: error: 'endl' was not declared in this scope
   13 |  cout<<6<<endl;
      |           ^~~~
a.cc:13:11: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:15:2: error: 'cout' was not declared in this scope
   15 |  cout<<16<<endl;
      |  ^~~~
a.cc:15:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:12: error: 'endl' was not declared in this scope
   15 |  cout<<16<<endl;
      |            ^~~~
a.cc:15:12: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:17:2: error: 'cout' was not declared in this scope
   17 |  cout<<12<<endl;
      |  ^~~~
a.cc:17:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:12: error: 'endl' was not declared in this scope
   17 |  cout<<12<<endl;
      |            ^~~~
a.cc:17:12: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:19:2: error: 'cout' was not declared in this scope
   19 |  cout<<64<<endl;
      |  ^~~~
a.cc:19:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:19:12: error: 'endl' was not declared in this scope
   19 |  cout<<64<<endl;
      |            ^~~~
a.cc:19:12: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:21:2: error: 'cout' was not declared in this scope
   21 |  cout<<24<<endl;
      |  ^~~~
a.cc:21:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:21:12: error: 'endl' was not declared in this scope
   21 |  cout<<24<<endl;
      |            ^~~~
a.cc:21:12: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:23:2: error: 'cout' was not declared in this scope
   23 |  cout<<36<<endl;
      |  ^~~~
a.cc:23:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:12: error: 'endl' was not declared in this scope
   23 |  cout<<36<<endl;
      |            ^~~~
a.cc:23:12: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:25:2: error: 'cout' was not declared in this scope
   25 |  cout<<48<<endl;
      |  ^~~~
a.cc:25:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:25:12: error: 'endl' was not declared in this scope
   25 |  cout<<48<<endl;
      |            ^~~~
a.cc:25:12: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:27:2: error: 'cout' was not declared in this scope
   27 |  cout<<1024<<endl;
      |  ^~~~
a.cc:27:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:27:14: error: 'endl' was not declared in this scope
   27 |  cout<<1024<<endl;
      |              ^~~~
a.cc:27:14: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:28:13: error: expected ';' before 'cout'
   28 | else (N==12)
      |             ^
      |             ;
   29 |  cout<<72<<endl;
      |  ~~~~