Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 27th, 2009, 10:33 PM   #1
skylerof209
Newbie
 
Join Date: Jan 2009
Posts: 15
Rep Power: 0 skylerof209 is on a distinguished road
noob review assignment help

yeah ok. teacher is a ** and gave us review stuff begin of semester too bad i dont have time i got other hw .this easy stuff were suppose to be past arrays and all that . an rs account to anyone who can do any of these by tomorrow morning i need it done by 8am pst tomorrow which is 12hrs from now
there are 2 assignments:


number 1:
-------------------------------------------------------------------------------

Consider the following program segment
Java Syntax (Toggle Plain Text)
  1. //importclasses
  2. public classExercise
  3. {
  4. public static void main(String[]args)
  5. {
  6. //variable declaration
  7. //executable statements
  8. }
  9. }
a. Write a Java statement that imports the class Scanner.
b. Write a Java statement that declares console to be a Scanner object for inputting
data from the standard input device.
c. Write Java statements that declare and initialize the following named constants:
SECRET of the type int initialized to 11,and RATE of the type double initialized
to 12.50.
-----------------------------------------------------------------------


number 2:

Write a program that prompts the user to input a length expressed in centimeters.The
program should convert the length to inches,to the nearest inch,and then output the
length expressed in yards,feet,and inches,in that order.For example,123 inches would
be output as:
3 yard(s), 1 feet (foot), and 3 inch(es)

not as anything else

Last edited by Sane; Jan 27th, 2009 at 10:36 PM. Reason: Added Code Tags
skylerof209 is offline   Reply With Quote
Old Jan 27th, 2009, 10:38 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Google / Kitchener
Posts: 4,154
Rep Power: 15 Sane has a spectacular aura aboutSane has a spectacular aura about
Send a message via MSN to Sane
Re: noob review assignment help

Forum Rules
Quote:
Originally Posted by Forum Rules
Don't be lazy when it comes to doing your own schoolwork. Do not post homework problems expecting a quick answer - doing so is an invitation to getting flamed. However, if you take the time to show effort and ask a specific question about your homework that is confusing you, we will be more than happy to help you learn. For easy readability, always wrap programming code within posts in [code] and [icode] tags.
I'm not going to do anything, but good luck plagiarizing your homework assignment.
__________________
PFO's Folding@Home Team | Sane's Monthly Algorithms Challenges
Rules | How to Post a Question | How to Post Code

Becoming a good programmer requires foresight of your code's execution.
Becoming an excellent programmer requires foresight of your code's modification.
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow chart and pseudocode assignment JimR Other Programming Languages 19 Nov 9th, 2008 8:26 PM
book review forum bl00dninja Community Announcements and Feedback 19 Apr 26th, 2006 2:39 AM
Assignment, asking for help JimR Visual Basic .NET 25 Jan 20th, 2006 11:28 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:07 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC