Section B
{Must write yourname and roll po on each page)
{Click the pics and attach with Google form link in Pdf form)
Write a program in Java to find the gross salary of an employee for the
following allowances and deduction. Use meaningful variables with a class name
employee and basic pay as an input.
Dearness Allowance
25% of basic pay
House rent Allowance
15% of basic pay
Provident fund
8.33% of basic pay
Net pay
basic+ dearness allowance +house rent allowance
Gross pay
Net pay- Provident fund
Answers
Answered by
8
Answer:
This chapter explains the basic syntaxes of the Java programming language. I shall assume that you have written some simple Java programs. Otherwise, read "Introduction To Java Programming for First-time Programmers".
To be proficient in a programming language, you need to master two things:
The syntax of the programming language: Not too difficult to learn a small set of keywords and syntaxes. For examples, JDK 1.8 has 48 keywords; C11 has 44, and C++11 has 73.
Similar questions