Results 1 to 3 of 3
- 03-11-2013, 06:10 PM #1
Member
- Join Date
- Mar 2013
- Posts
- 1
- Rep Power
- 0
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)?
- 03-11-2013, 06:22 PM #2
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.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 03-12-2013, 12:14 AM #3
Member
- Join Date
- Feb 2012
- Posts
- 59
- Rep Power
- 0
Re: Hello guys! I'm new to the forum and I need help
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
-
i really need ur help guys.
By akocnivek in forum New To JavaReplies: 10Last Post: 10-19-2012, 10:35 AM -
Hey guys!
By Syntax in forum IntroductionsReplies: 0Last Post: 01-15-2010, 08:58 PM -
hi guys
By jackson787 in forum Reviews / AdvertisingReplies: 0Last Post: 01-12-2010, 06:19 AM -
Welcome to our new forum: Forum Lobby
By JavaForums in forum Forum LobbyReplies: 18Last Post: 02-07-2008, 05:40 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks