plz tell me why it is showing error
Attachments:
![](https://hi-static.z-dn.net/files/d28/ae323a5a3d28884967723375a7e506da.jpg)
Answers
Answered by
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
Social Sciences,
8 months ago
Math,
8 months ago
English,
1 year ago
Math,
1 year ago
Biology,
1 year ago