Module 3: Add 1 plus 1

This commit is contained in:
David Doblas Jiménez 2021-07-11 19:11:55 +02:00
parent 068b3b8d00
commit b3a49d7991
2 changed files with 12 additions and 0 deletions

10
a.c Normal file
View File

@ -0,0 +1,10 @@
#include <iostream> // library for printing
using namespace std;
// For compiling C++ code
// g++ a.c -o a
int main() {
cout << 1 + 1 << "\n";
}

2
a.py Normal file
View File

@ -0,0 +1,2 @@
if __name__ == "__main__":
print(1+1)