3. Print Literal Newline Character

Easy ⏱️ 2 min

Description

Print the following output: \n

Input:
NA
Output:
\n
Constraints:
NA

Solution

#include <iostream>

using namespace std;

int main() {
    cout << "\\n";
    return 0;
}