6 Discussion / Question Topics
Remove Filter
|
|
interface Interface1 { public int method1(); public int method2(); } public class Salary implements Interface1 { public static void main(String args[]) { int sa[]=Integer.parseInt(arg[0]); float pf,hra,da,tax,net; public int method1() { System.out.println("salary="+sa); try{ if(sa>250000) { pf=sa*5/100; hra=sa*10/100; da=sa*8/100; tax=sa*10/100; net=sa+tax; System.out.println("Net salary of an employee"+net); } } catch(Exception e) { System.out.println("I/O … |
|
In case my recent post about the [URL="http://www.daniweb.com/blogs/entry3011.html"]stress levels of IT workers[/URL] made you want to start looking for a new job, the least I can do is offer you some tips. Here are three things you need to do right now: [B]Get a sense of the market[/B] - Make … |
|
I am mainly into system dev, writing kernels and kinda just building everything from the ground up... But I also like game dev and is interisted in the whole concept. So I am going to make this easy, seing as a lot of things can change the output. A programmer … |
|
IM BEGGING YOU TO PLEASE HELP ME,IM NOT REALLY FAMILIAR IN PROGRAMMING BUT I NEED TO DO THIS BECAUSE IT'S OUR DEFENSE NEXT WEEK AND I NEED TO CREATE A PROGRAM IN DEVC++ THAT WILL GET THE EMPLOYEE SALARY AND DATA,I KNOW SOME OFYOU GUYS CAN HELP ME CREATE A … |
|
We are atsked to create a net salary calculator or something that computes the net salary. I used three radio button in which if it is selected, it has corresponding solution for each selection. The three radio button are probationary, regular and permanent.......here is the code Private Sub Command1_Click() Dim … |
|
Hi, I have seen in couple of places the code where ToString() method has been overriden. Like : class Employee : IComparable<Employee> { public int Salary { get; set; } public string Name { get; set; } public int CompareTo(Employee other) { if (this.Salary == other.Salary) { return this.Name.CompareTo(other.Name); } … |
The End.