Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

partially filled array

 
Ken Jenkins
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I:
Reads two integers that are <= 20 digits long. Read digits as values of type char so that 1234 reads as '1', '2' etc. After they are read into the program, the characters are changeds to values of type int. should be read in a partially filled array.

[Bear edit: can't abide all uppercase]
[ October 06, 2006: Message edited by: Bear Bibeault ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

We have a strict policy on display names, which must be a real first and last name with a space between. "SSS" ain't too real-soundin'.

Please go here and fix your display name up, pronto. Thanks, pardner!
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, what have you tried? I'm not clear on how you're reading these inputs and just what you want out of them. If you can show an almost working program we'll help you to the next step.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic