Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

A lottery requires that you select seven different numbers…

Customer Question
A lottery requires that you...
A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number should also be generated. The powerball number should be within the range of 1-10. Write a Java program that will do this for you and generate eight sets of seven numbers plus one powerball number. You must create an array and you must use the random() method in your solution. The solution must also include the use of at least one repetition statement.
Submitted: 8 years ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 5 minutes by:
6/27/2010
Programmer: LogicPro, Computer Software Engineer replied 8 years ago
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,508
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified
Hi,
Here is your answer
Ask me if you need more information.
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,508
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified
LogicPro and 87 other Programming Specialists are ready to help you
Ask your own question now
Customer reply replied 8 years ago
What about my second?
Programmer: LogicPro, Computer Software Engineer replied 8 years ago
Working on it now
Ask Your Own Programming Question
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,508
13,508 Satisfied Customers
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

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

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

13,508 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
Your consulting firm has been red to develop a program that
Your consulting firm has been hired to develop a program that meets the following requirements. Your program must provide a menu to the user. This menu should list five different products of your choi… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,508 satisfied customers
You have been hired to produce a report for a marketing research
You have been hired to produce a report for a marketing research company. Yellow Bird Marketing, Inc. has collected information from across the country regarding five different products. They would li… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Java program w/ commented code Details: You have been
Java program w/ commented code Details: You have been hired to produce a report for a marketing research company. Yellow Bird Marketing, Inc. has collected information from across the country regardin… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Java program w/ commented code Details: You have been hired
Java program w/ commented code Details: You have been hired to produce a report for a marketing research company. Yellow Bird Marketing, Inc. has collected information from across the country regardin… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
For ATLProg Only... You have been hired to produce a report
For ATLProg Only... You have been hired to produce a report for a marketing research company. Yellow Bird Marketing, Inc. has collected information from across the country regarding five different pro… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
You have been hired to produce a report for a marketing research
You have been hired to produce a report for a marketing research company. Yellow Bird Marketing, Inc. has collected information from across the country regarding five different products. They would li… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Objective Use loops and decision structures in programs.
Objective: • Use loops and decision structures in programs. • Design and create programs using control structures • Use arrays, strings, and other common data types The Lottery Problem A lottery requi… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Computer OS Windows XP Programming Language Java Already
Computer OS: Windows XP Programming Language: Java Already Tried: The Lottery Problem A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number … read more
Ansh P.
Ansh P.
System Analyst
Bachelor\u0027s Degree
6,393 satisfied customers
The Lottery Problem A lottery requires that you select seven
The Lottery Problem A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number should also be generated. The powerball number should be within th… read more
Scott
Scott
MIT Graduate
Master\u0027s Degree
213 satisfied customers
The Lottery Problem A lottery requires that you select seven
The Lottery Problem A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number should also be generated. The powerball number should be within th… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
The Lottery Problem A lottery requires that you select seven
The Lottery Problem A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number should also be generated. The powerball number should be within th… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,508 satisfied customers
The Lottery Problem A lottery requires that you select seven
The Lottery Problem A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number should also be generated. The powerball number should be within th… read more
Rafael Martins
Rafael Martins
System Developer
446 satisfied customers
design a program that generates a 7 didit lottery number the
design a program that generates a 7 didit lottery number the program should have an integer array with 7 elements. write a loop that steps through the array,randomly generating a number in the range o… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
I keep getting an error message when I try to interpret my
I keep getting an error message when I try to interpret my file. I have a project where I have to print out eight sets of eight random numbers and a powerball. I got it to print out the eight random n… read more
Todd
Todd
Bachelor\u0027s Degree
396 satisfied customers
A lottery requires that you select seven different numbers
A lottery requires that you select seven different numbers from the integers 1 to 35. A separate powerball number should also be generated. The powerball number should be within the range of 1-10. Wri… read more
Raj
Raj
SAP ABAP Consultant
Master\u0027s Degree
27 satisfied customers
I need the answer back by Friday night 10 00 p.m. CST. The
I need the answer back by Friday night 10:00 p.m. CST. The Lottery Problem A lottery requires that you select six different numbers from the integers 1 to 49. Write a Java program that will do this fo… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
Lottery Application- Write a Lottery class that simulates a
Lottery Application- Write a Lottery class that simulates a lottery. The class should use the Random class (from the Java API) to generate a random number in the range of 0 through 9 for each element … read more
Rafael Martins
Rafael Martins
System Developer
446 satisfied customers
Design a program that uses the following parallel arrays empId
Design a program that uses the following parallel arrays: • empId: An array of seven integers to hold employee identification numbers. The array should be initialized with the following numbers: 56588… read more
.Paul
.Paul
VB.Net technician
38 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x