Computer Science, asked by rohitkumar9228, 10 months ago

plz tell me why it is showing error ​

Attachments:

Answers

Answered by atharva1307
1

There are few errors in program

1)Add conio.h header file

2)Whenever you use variable before initializing declare it like in above code put data type such as internet,float etc before variable

i.e. int a=50;

int b=50;

3)Another error at first printing statement after endl put semicolon to terminate print statement

4)There is an extra curly brace so remove that

5)And last never ever put class inside main method so remove int main which you have written before class employee.


rohitkumar9228: thank i noticed d missed semicolon
Similar questions