- first code
#include <studio.h>
int main() {
std::cout << "apple" << endl << "banana";
}
- second code
#include <iostream>
using namespace std;
int main(void) {
cout << "apple" << endl;
cout << "banana" << endl;
}
Why am i wrong? i know the answer is second one, But i want to know the why my first code is wrong. Please help me!