Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8806281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:05:30+00:00 2026-06-14T02:05:30+00:00

I am a highschool java programer (semi-experienced in c++) and I have the assignment

  • 0

I am a highschool java programer (semi-experienced in c++) and I have the assignment of reading in a 3 digit number and outputting it as words. If I could just input each digit seperatly this program would be a breeze, but I must take in all 3 at once, AND do so through breezy swing windows built in, input. Can I just take input in as the int array? must I take it in as a string then parse it some how positon by position into the array, and if so how do I do so?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:05:31+00:00Added an answer on June 14, 2026 at 2:05 am

    You could accept the number as an int only

    then

    use the method we use when extracting digits

    Hint

    number % 10 is last digit
    number/10 removes last digit from number

    Eg:

    456%10 = 6
    456/10 = 45

    then 45%10 = 5
    45/10 = 4

    then 4%10 = 4
    4/10 = 0

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a beginner high school java student and I have to make a simple
I started in High School learning java and python and I guess I just
Over the last couple of months I practiced console programming with Java just with
i have json : {total:100, category: [Village, City, School, HighSchool]} for extjs combobox :
so it turns out I need highschool algebra afterall... and stupid me; I've forgotten
I'm studying ASM 8086 theoretically on highschool (MASM, x86). .data var dd 421,422, 443,
We'll soon have some high school kids here in our company for some training
this is my first interaction with this site, I have heard good things and
I am a newbie Computer Science high school student and I have trouble with
I'm studying ASM 8086 theoretically on highschool. (that means that I study ASM 8086

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.