How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLProg Your Own Question

ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9151
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
44910485
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

Write a Java program that prints asks the user to enter a

Customer Question

Write a Java program that prints asks the user to enter a positive value (1 less than or equal to 200) and print each number up to that line, 1 per line with the following changes (SNAP CRACKLE POP).
• If a number is ***** by 2 (but not 3 or 5) print out SNAP instead of the integer.
• If a number is ***** by 3 (but not 2 or 5) print out CRACKLE instead of the integer.
• If a number is ***** by 5 (but not 2 or 3) print out POP instead of the integer.
• If a number is ***** by 2 and 3 (but not 5) print out SNAPCRACKLE instead of the integer.
• If a number is ***** by 2 and 5 (but not 3) print out SNAPPOP instead of the integer.
• If a number is ***** by 3 and 5 (but not 2) print out CRACKLEPOP instead of the integer.
• If a number is ***** by 2, 3, and 5 print out SNAPCRACKLEPOP instead of the integer.
Sample Runs:
Enter a positive value: 7
1
SNAP
CRACKLE
SNAP
POP
SNAPCRACKLE
7
Enter a positive value: 10
1
SNAP
CRACKLE
SNAP
POP
SNAPCRACKLE
7
SNAP
CRACKLE
SNAPPOP
Submitted: 1 year ago.
Category: Homework
Expert:  ATLProg replied 1 year ago.

Hello I can help. I will have solution ready soon

Expert:  ATLProg replied 1 year ago.

By when you need this done?

Customer: replied 1 year ago.
No later than noon on the 26th
Customer: replied 1 year ago.
Still waiting for response as to when you can have the program ready
Expert:  ATLProg replied 1 year ago.

I will be done today

Customer: replied 1 year ago.
What time should i be getting a answer
Expert:  ATLProg replied 1 year ago.

please be around give me 10 minutes

Expert:  ATLProg replied 1 year ago.

Please download solution from http://wikisend.com/download/569598/SnapCracklePop.java

I hope i was able to assist you. If you are happy with my service please rate my service . If your are not 100% satisfied, please reply to me so that i can help you better.
Please start your question with "For ATLProg only" to request me again
Please bookmark my profile page http://www.justanswer.com/computer/expert-atlprog/ so you can come back and ask me a question anytime.
Useful resources: https://ww2-secure.justanswer.com/help/do-i-have-rate-answer http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Expert:  ATLProg replied 1 year ago.

Are we good?

Expert:  ATLProg replied 1 year ago.

Please remember to rate the answer

Customer: replied 1 year ago.
Program does not work
Expert:  ATLProg replied 1 year ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.

Related Homework Questions