Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 13th, 2004, 02:16 AM
balt balt is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 balt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking need help! urgent ;p little prog!

i need help with this...and i know nothing about java : mad:


Code a little application for creation and visualization of small files, and also a little calculator to make simple operations (addition,
subtraction, multiplication, division and square root). While executed, the application must ask the user if he wants to use the text
processor, the calculator or exit the program.

- Chosing the text processor, the user may chose between creating a new text file or read an existing one.
- If the user choses to read a file, he must write the name of the file, andhaveaccess to the content of the file.
- If the user choses to create a file, he must insert the text till he writes #END# in an isolated line, after that he must chose the name of
the file where to save the text.
- In the end of any of the options, the user should return to the main question: use to text processor, calculator or exit.
- When you "implement" the application, you must use a class to the text processor, another to the calculator, and another to combine both
and the interaction with the user, and any other you think its necessary.


---------------------

this is how it should look:

WELCOME TO WORLDCAC!

------------------------

- Which option you want to execute? Text Processor [WORD], Calculator [CALC], or Exit [EXIT]?
WORD[i/]

---------------------

- Would you like to read a file [READ] or create a new one [WRITE]?
[i]READ


---------------------

- What's the name of the file?
read_text.txt
- The content of the file is:
The happy dogs make me happy.
The happy dogs make me happy.

---------------------

- Which option you want to execute? Text Processor [WORD], Calculator [CALC], or Exit [EXIT]?
WORD

---------------------

- Would you like to read a file [READ] or create a new one [WRITE]?
WRITE
- Insert the content of the file (end with #WNS# in an isolated line)
The happy dogs love jah.
The happy dogs love jah.

- What's the name of the file?

---------------------

- Which option you want to execute? Text Processor [WORD], Calculator [CALC], or Exit [EXIT]?
CALC

---------------------

- Which operation you want to execute: addition [ADD], subtraction [SUB], multiplication [MULT], division
[DIV] or square root [ROOT]?
ROOT
- What's the value you want to use?
25
- The result is 5.0.

---------------------

- Which option you want to execute? Text Processor [WORD], Calculator [CALC], or Exit [EXIT]?
EXIT



{the end}

NOTE: The italic text represents the data inserted by the user. (on other words, it represents what the user has writen!)

thanks

Reply With Quote
  #2  
Old January 13th, 2004, 07:47 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Send a message via ICQ to dhouston
Sounds like a homework assignment to me.

Reply With Quote
  #3  
Old January 13th, 2004, 10:35 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 18
> i know nothing about java

Sounds like an excellent learning opportunity...
You already have the visuals worked out, try laying out some pseudo-code and you're assignment is half-done...
Remember, when you're prepared properly, coding is the easy part...

Reply With Quote
  #4  
Old January 13th, 2004, 10:06 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,240 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
balt,

I have to agree 100% with Daryl and Daryl (Reminds me of the Newhart show -- "This is my brother Daryl, and my other brother Daryl!" LOL)

Anyways... Like I said, I agree with them. If you're interested in learning the language (or programming in general), you need to start the assignment (I too think it's an assignment) on your own. Then if you run into a problem, we're always here to help... But nobody's going to "do it" for you.

I would suggest speaking to an assistant/tutor on getting you started with the fundamentals (especially if you're having a hard time in class).

HTH!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > need help! urgent ;p little prog!


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap