Results 1 to 3 of 3
  1. #1
    JaimeRodz is offline Member
    Join Date
    Mar 2013
    Posts
    1
    Rep Power
    0

    Default Hello guys! I'm new to the forum and I need help

    I just started an IT class, and the very first assignment we have is to write a small program. I have no experience with java whatsoever, other than what I have read on the textbook. I canít for the life of me figure out how to even begin to do small stuff. I have a few problems I have to solve this week, but I canít even put comments on jGRASP without it coming back with multiple errors.

    Any and all help will be much appreciated!
    Jaime



    1st assignment

    Computer Programming: Programming Problem

    Using the Java Development Kit and jGrasp, develop a program in response to the following prompt:

    Write a program that prompts the user to input a decimal number and ouputs the number rounded to the nearest integer.

    Remember the rules around proper development style and form, including adding comments. A software developer should always add comments to their code so other developers (or in this case the instructor) understand what the intent of the program is.

    To submit your compiled Java code for this assignment, compress the .java file into a single .zip file. Submit this .zip file to the link below.

    For additional details, refer to the Programming Problems Rubric in the Assignment Guidelines and Rubrics folder.

    2nd assignment

    Consider the following statement when responding to questions 1 and 2:
    Jim develops 5 Java applications a year. Joe develops 10 Java applications a year. Jim gets paid $5000.00 per application, but Joe gets paid $10000.00 per application.
    1.) What type of equation would you create to determine how much either Joe or Jim makes separately? What equation is needed in Java (ignoring the $ symbol)? What data type is needed need for this equation?
    2.) What type of equation would you create to determine the combined total of Joe and Jim's worth? What is the equation in Java? What would be an incorrect way of writing this equation (think parentheses)?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,453
    Rep Power
    20

    Default Re: Hello guys! I'm new to the forum and I need help

    Please go through the Forum Rules, particularly the third paragraph. When you've done that, check out the Guide For New Members and BB Code List - Java Programming Forum - Learn Java Programming

    To get help here or on any forum, you need to post your best efforts and ask a specific question. As it stands, your post is a homework dump, and we don't encourage cheating by doing anyone's homework for them.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    lenois is offline Member
    Join Date
    Feb 2012
    Posts
    59
    Rep Power
    0

    Default Re: Hello guys! I'm new to the forum and I need help

    Quote Originally Posted by JaimeRodz View Post
    I just started an IT class, and the very first assignment we have is to write a small program. I have no experience with java whatsoever, other than what I have read on the textbook. I canít for the life of me figure out how to even begin to do small stuff. I have a few problems I have to solve this week, but I canít even put comments on jGRASP without it coming back with multiple errors.

    Any and all help will be much appreciated!
    Jaime



    1st assignment

    Computer Programming: Programming Problem

    Using the Java Development Kit and jGrasp, develop a program in response to the following prompt:

    Write a program that prompts the user to input a decimal number and ouputs the number rounded to the nearest integer.

    Remember the rules around proper development style and form, including adding comments. A software developer should always add comments to their code so other developers (or in this case the instructor) understand what the intent of the program is.

    To submit your compiled Java code for this assignment, compress the .java file into a single .zip file. Submit this .zip file to the link below.

    For additional details, refer to the Programming Problems Rubric in the Assignment Guidelines and Rubrics folder.

    2nd assignment

    Consider the following statement when responding to questions 1 and 2:
    Jim develops 5 Java applications a year. Joe develops 10 Java applications a year. Jim gets paid $5000.00 per application, but Joe gets paid $10000.00 per application.
    1.) What type of equation would you create to determine how much either Joe or Jim makes separately? What equation is needed in Java (ignoring the $ symbol)? What data type is needed need for this equation?
    2.) What type of equation would you create to determine the combined total of Joe and Jim's worth? What is the equation in Java? What would be an incorrect way of writing this equation (think parentheses)?
    I am not doing your homework, but I'll give you some tips, even though you violated forum rules. First there are a couple of ways to do input.
    I/O from the Command Line (The Javaô Tutorials > Essential Classes > Basic I/O)
    Second think data type, what is a decimal number and what is an integer.

    for the second part

    think data types again, the rest is arithmetic.

    You could use methods, but I imagine you teacher only wants a main method.

Similar Threads

  1. i really need ur help guys.
    By akocnivek in forum New To Java
    Replies: 10
    Last Post: 10-19-2012, 11:35 AM
  2. Hey guys!
    By Syntax in forum Introductions
    Replies: 0
    Last Post: 01-15-2010, 09:58 PM
  3. hi guys
    By jackson787 in forum Reviews / Advertising
    Replies: 0
    Last Post: 01-12-2010, 07:19 AM
  4. Welcome to our new forum: Forum Lobby
    By JavaForums in forum Forum Lobby
    Replies: 18
    Last Post: 02-07-2008, 06:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •