Problem psle
User Pavan1000
Submission Time 2023-03-29 17:48:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp:2:7: error: expected nested-name-specifier before ‘namepsace’
2 | using namepsace std;
| ^~~~~~~~~
psle.cpp: In function ‘int main()’:
psle.cpp:5:1: error: expected initializer before ‘cin’
5 | cin>>x
| ^~~
psle.cpp:8:2: error: ‘else’ without a previous ‘if’
8 | }else if (x<=90 && x>=75){
| ^~~~
psle.cpp:8:11: error: ‘x’ was not declared in this scope
8 | }else if (x<=90 && x>=75){
| ^
psle.cpp:9:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
9 | cout<< "A";
| ^~~~
| std::cout
In file included from psle.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
psle.cpp:11:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
11 | cout<<"B";