Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: I want us to help me to resolve my duty in JavaScript

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation I want us to help me to resolve my duty in JavaScript

    hi

    This is the first post to me and I hope that you will help me


    Structured Programming
    Assignment 1
    Deadline:
    Instructor:
    Complete the following tasks in Java using NetBeans.
    Create a class Employee.
    In class Employee, add the ID, name, date of birth and salary as data members of the appropriate types.
    Create a method called raise that will return nothing and receive an integer number as an argument. This method will use the argument it receives as a percentage for employee’s raise and change its salary according to that. For example if the integer argument value was 10 then the employee is receiving a 10% raise and hence if his/her salary is 10,000 SAR the new salary will become 11,000 SAR.
    Finally write a method print that will print all the employees data in a single line separated by ‘-‘.

    To test your class you will need to create a new class with a main method and create at least three different objects with different data and uses the two methods above to update the salary and print the information of the employees.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    184
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: I want us to help me to resolve my duty in JavaScript

    This is the first post
    Technically its your second, as you posted the same thing twice. Your other thread has been locked as a result. I highly recommend a) reading Announcements - What's Wrong With My Code? b) Don't mark your thread solved (unless it has been solved) c) Don't dump your homework on the forums - post your attempt and ask a specific question...this thread may be locked in the near future as a result.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,349
    My Mood
    Mellow
    Thanks
    254
    Thanked 784 Times in 769 Posts

    Default Re: I want us to help me to resolve my duty in JavaScript

    In the case of multiple posts, the web site's slow response may be causing some to press the "Post" button twice. I've gotten the original post plus an update even after pushing the "Post" button once. The site does seem more responsive at the moment, however. It comes and goes.

Similar Threads

  1. want to resolve issue about discarding zeros of numeric values in csv
    By amit1985sha@gmail.com in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 6th, 2013, 07:47 AM
  2. javascript
    By basha2013 in forum Other Programming Languages
    Replies: 2
    Last Post: January 24th, 2013, 05:57 PM
  3. Cannot Resolve Symbol Error
    By tyeeeee1 in forum What's Wrong With My Code?
    Replies: 7
    Last Post: December 6th, 2012, 05:12 PM
  4. What's wrong with my code?? (it said cannot resolve symbol)
    By sakura_smile in forum What's Wrong With My Code?
    Replies: 23
    Last Post: June 11th, 2012, 07:55 AM
  5. fncharts plotting buy sell signal codes please resolve it
    By shankar4kv in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 29th, 2011, 12:13 PM