Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework
This answer was rated:

Logic, Keeping it on the same skill level as the last

Hey Logic,Keeping it on the...
Hey Logic,Keeping it on the same skill level as the last assignment (assignment 1) you just did recently for me, here is #2. Need it by Sat if that's ok.Write a console program that:
 Uses a while loop to perform the following steps:
1. Prompt the user to input two integers: firstNum and secondNum where
secondNum is at least 10 greater than firstNum, both numbers are positive
integers, and secondNum is less than 1000.
2. Verify that the user entered acceptable numbers, and if not, provide error
feedback and prompt them again.
3. Output all results to a file in the same directory as the program, placing an
appropriate label between each section of output. Note that your program
must be able to run repeatedly overwriting the file from the previous run.
4. Output all odd numbers between firstNum and secondNum inclusive, one
number per line.
5. Output the sum of all numbers between firstNum and secondNum
exclusive.
 Uses a for loop to perform the following steps:
1. Continue writing to the same file as before.
2. Write a label as before.
3. Output all numbers from secondNum to firstNum in a single line with
commas separating the numbers.
 Write the date and time as the last line in the file in the format
yyyy-mm-dd hh:mm:ss.
Notes:
1. Inclusive means that the firstNum and secondNum are output if
appropriate.
2. Exclusive means that the firstNum and secondNum are not output.
3. The instructor will attempt to crash your program by entering numbers
you don't expect -- if you program throws an exception you will be
marked down!
4. While this looks like a daunting task, it is actually very simple -- just think
it through
Show More
Show Less
Ask Your Own Homework Question
Answered in 1 minute by:
9/21/2017
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,274
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
Hi
Ask Your Own Homework Question
Customer reply replied 2 months ago
Hello, How are you? I tried to get you the assignment in right before heading to work.

Thank you. I am good

Hope you are doing well.

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 2 months ago
Sat if that's ok. I'll have another immediately after that one if you recall.

Thanks. It involves file handling. Will have to setup on your computer. Sending offer to accept per the efforts

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,274
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
LogicPro and 87 other Homework Specialists are ready to help you
Ask your own question now

Are you available?

Ask Your Own Homework Question
Customer reply replied 2 months ago
Just woke up for a moment, fell asleep on the couch. Going to call it a night for today. We can link up in the morning if you're available, finish up with this assignment, then I can give you the next assignment like we planned. Have a good one. Catch up with you tomorrow.
Sure
Have a good night
Ask Your Own Homework Question

Good morning friend. Let me know if you are available

Ask Your Own Homework Question
Customer reply replied 2 months ago
Alright, early bird lol. I am up now. Let's get started :-)

Great.

Download and run remote help client software to let me see your screen

http://www.justanswer.com/remotedesktop/join.aspx?Session=0ddeeef4-8b7f-4c29-ae6e-840ddb435be2

Ask Your Own Homework Question

Let me know once you are available

Ask Your Own Homework Question
Customer reply replied 2 months ago
Hey Logic,
I'm at work right now. Will be available at home for you to remote in appx 6-7hrs. Here is the next assignment if you're interested. Same help needed towards the end (remote) deadline Sat. I would like for us to keep using console please. Thanks. Let me know how much. Thanks sir.Programming Assignment 3Write a program that consists of three classes. The first class will be the actual program.The second class will simply convert a string to lower case.The third class will have three methods:public static String trimmed(String str)public static String trimmed(String str, int len)public static String squeeze(String str)The 1st trimmed method will return str without leading or trailing whitespace and will return an empty string if str is null.The 2nd trimmed method will return the first len characters after trimming the string. The 2nd method must make use of the 1st method.The squeeze method will replace all sequences of 2 spaces with 1 space.The program will read a file containing the data below (cut and paste it into notepad and save it), and will display each line:
1. as entered but trimmed and squeezed.
2. as entered but trimmed, squeezed, and shortened to 10 characters
3. as entered but trimmed, squeezed, converted to lower case, and shortened to 20 characters.Data (copy after this line down to (not including) the line that says end data, you will have 5 lines):This is a test, this is only a test!
This test is a test of your Java programming skills!
xyz
ABCDEFGHIJKLMONPQRSTUVWXYZ1234567890-=_+ !
end data.
Grading Notes:
1. You can do this program however you like (console, GUI, AWT, Swing, Applet, etc.).
2. If you use an inner classes for the second and third classes, you will receive up to 5 extra points, and if the third class is anonymous, you will receive up to five additional points.
3. If you make the program graphical, you will receive up to 10 extra points (total won't exceed 100).
4. You will lose points for poor formatting, poor commenting, not following instructions, program that don't work, etc.
5. In any case, your total cannot exceed 100 points.
6. Since this is the 3rd assignment, you are expected to get this right before you turn it in. It will be graded much more rigorously than the earlier assignments and in most cases, you won't get a second chance! If something is confusing in the instructions, ask before submitting!

ok. Let me know once you are available for remote

Ask Your Own Homework Question
Customer reply replied 2 months ago
Will do, thanks
Customer reply replied 2 months ago
You want me to pay now for this 3rd Assignment?

Thanks

Ask Your Own Homework Question
Customer reply replied 2 months ago
Sorry, I gave you the assignment you are already working on LOL

yes

Ask Your Own Homework Question
Customer reply replied 2 months ago
Here is the next assignment, Assignment#4:
Due date I gave you was correct thoughWrite a console program that repeatedly prompts the user to enter data until they type done
(any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array
where the first dimension contains exactly what they type and the second dimension contains
the first non-whitespace character of what they type, in lowercase. If they enter a blank line, it
is acceptable to skip that line. When they type done, do these steps:
1. display: As Entered
2. for each entry in the array, display the index of the first dimension, the second
dimension's value, and the first dimension's value on a single line separated by :
(colon).
3. display: Bubble Sorted
4. using a bubble sort, for each entry in the array, display the original index of the first
dimension, the second dimension's value, and the first dimension's value on a single
line separated by : (colon) sorted by the second dimension.
5. display: Selection Sorted
6. using a selection sort, for each entry in the array, display the original index of the first
dimension, the second dimension's value, and the first dimension's value on a single
line separated by : (colon) sorted by the first dimension.
Grading Notes:
1. Please read the instructions carefully! Using the wrong sort or dimension will hurt your
grade!
2. The instructor will attempt to crash your program -- an exception will cost you 10 points -
- don't let exceptions happen!
3. If you ensure that duplicate values are sorted with the lower original array index first,
you will get 5 extra points (final score not over 100).
4. You can use the sort methods from the book, but you will get 5 extra points if you do
them as inner classes and FULLY comment them (final score not over 100).
5. Since this is the 4th assignment, you are expected to get this right before you turn it in.
It will be graded rigorously and in most cases, you won't get a second chance! If
something is confusing in the instructions, ask before submitting! If the instructor does
give you a second chance, 10 points will be deducted.
Example:
User types:
apple
Apple
Zone
apple
done
You display:
As entered
0:a:apple
1:a:Apple
2:z:Zone
3:a:apple
Bubble Sorted
0:a:apple
1:a:Apple
3:a:apple
2:z:Zone
Selection Sorted
1:a:Apple
0:a:apple
3:a:apple
2:z:Zone

ok

Ask Your Own Homework Question

Are you available?

Ask Your Own Homework Question
Customer reply replied 2 months ago
finally lol
Customer reply replied 2 months ago
Ready
Ask Your Own Homework Question
Customer reply replied 2 months ago
Hi Logic. How is the Assignment 4 coming along?
Ask Your Own Homework Question
Customer reply replied 2 months ago
One sec

ok

Ask Your Own Homework Question
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
Ask Your Own Homework Question
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,274
13,274 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

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:

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

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

13,274 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,550 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,635 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,159 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
An orange juice producer buys oranges from a large orange
An orange juice producer buys oranges from a large orange grove that has one variety of orange. The amount of juice squeezed from these oranges is approximately normally​ distributed, with a mean of 6.06.0 ounces and a standard deviation of 0.240.24 ounce. Suppose that you select a sample of 3636 oranges. a. What is the probability that the sample mean amount of juice will be at least 5.685.68 ​ounces? b. The probability is 7676​% that the sample mean amount of juice will be contained between what two values symmetrically distributed around the population​ mean? c. The probability is 7575​% that the sample mean amount of juice will be greater than what​ value? … read more
GLENN
GLENN
Master of Mathematics
333 satisfied customers
Describe the relationship of the NBPTS to learning theories
describe the relationship of the NBPTS to learning theories and educational environments compare the advantages and disadvantages of traditional and nontraditional learning environments for students w… read more
lani_s
lani_s
Bachelor\u0027s Degree
47 satisfied customers
Physics Orbiting Bodies Calculate the mass (in kg) of the
Physics Orbiting BodiesCalculate the mass (in kg) of the Sun based on data for Venus's orbit. (answer in kg) Compare the value obtained with the Sun's actual mass. M obtained/ M actual… read more
GLENN
GLENN
Master of Mathematics
333 satisfied customers
Your instructor will assign a linear programming project for
Your instructor will assign a linear programming project for this assignment according to the following specifications.It will be a problem with at least three (3) constraints and at least two (2) dec… read more
GLENN
GLENN
Master of Mathematics
333 satisfied customers
I want to ask the problems about python. It's about the
Hello, I want to ask the problems about python JA: What's your objective for this Python project? Customer: It's about the function and subclass JA: Anything else you want the programmer to know befor… read more
George Sibiya
George Sibiya
PhD
197 satisfied customers
Quick One! Do you have a solution for this problem? Suppose
Quick One ! Do you have a solution for this problem? Suppose a homogeneous array with 6 rows and 8 columns is stored in row major order starting at address 20 (base 10). If each entry in the array req… read more
Pete
Pete
Engineer
Bachelor\u0027s Degree
1,111 satisfied customers
1. Both a lay witness and an expert witness can give
1. Both a lay witness and an expert witness can give opinions under certain circumstances. A lay witness can give opinions concerning only A. settlement negotiations. B. observations that don't requir… read more
P. Simmons
P. Simmons
Attorney
Doctoral Degree
35,077 satisfied customers
Find the work done by the force F=(2n/M)Y + (31 N/m)x
Hi find the work done by the force F=(2n/M)Y + (31 N/m)x between the points A= (0,0) and B=2m, 2m) over a arc of radius 2m centered at (0, 2m) … read more
GLENN
GLENN
Master of Mathematics
333 satisfied customers
Write a C++ program to read in various types of test
Write a C++ program to read in various types of test questions (multiple choice and True/False) from a test bank (text file), and load the questions into an array of questions. You will need to implem… read more
LogicPro
LogicPro
Engineer
13,274 satisfied customers
I have a project management question. Your company, Planners
Your company, Planners 'R Us, specializes in effectively managing projects. Previous experience has involved conference management systems, commercial construction, and software development projects. A new, intriguing project offers another opportunity to apply your project management expertise. The university you just graduated from wishes to put together a music festival, “Rock'n Bands”. This will feature a number of top music groups, and should attract interest from students, local residents, and music fans throughout the region. Your company has met with University officials to develop a list of activities required to make Rock'n Bands a reality. The list on Page 2 includes twelve activities as well as their durations and immediate predecessors. Planners ‘R Us has agreed to complete the project in 10 weeks (finishing two weeks before the Festival), and wants to minimize the costs associated with the project. All tasks A-K must be completed in 10 weeks. You have four (4) workers, although you do not need to use all of them every week – there are other tasks they can do in your company. For bookkeeping purposes, your company will charge $200 per week for each worker that you use. If you happen to need an additional worker, there is one (1) available, but that person would then not get their other work done; thus, you will be charged $300 per week for the additional worker. In addition, if the project is “late”, there will be complications during the last two weeks before the Festival, costing Planners ‘R Us $2000 per week due to a serious loss of goodwill and plenty of negative publicity. … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,159 satisfied customers
5.(Consider This) Elasticity can be thought of as degree of
5.(Consider This) Elasticity can be thought of as degree of relative: Answer video brightness. price bounce. audio volume. quantity stretch. 6.Income elasticity measures the effect of a change in inco… read more
Bizhelp
Bizhelp
CPA
Bachelor's Degree
1,887 satisfied customers
I'm also confused about this assignment. So how can I view
Hello, I'm also confused about this assignment. So how can I view this answer? I try to login but I did not find where to view… read more
LogicPro
LogicPro
Engineer
13,274 satisfied customers
Looking for assistance with a simple Python program. Base
Looking for assistance with a simple Python program. Base file is already built, just needs to be tweaked. Must be completed by tomorrow at 5PM EST (within 24 hours).… read more
LogicPro
LogicPro
Engineer
13,274 satisfied customers
Java. I need to build this object on a project I worked on
i need to build this object on a project I worked on … read more
LogicPro
LogicPro
Engineer
13,274 satisfied customers
Can someone write my program for me. Python. I have two. One
I have two. One is a Latin sqaure and I need it tonmowo. And I have a second I need for Friday that's is comparinh a gene sequence … read more
LogicPro
LogicPro
Engineer
13,274 satisfied customers
Scenario: You work as the night manager for a local grocery
Scenario: You work as the night manager for a local grocery store chain. One of your duties includes to go to several store locations at closing time to collect cash and checks on hand at the end of t… read more
LogicPro
LogicPro
Engineer
13,274 satisfied customers
Office Supplies is considering a more liberal credit policy
Collins Office Supplies is considering a more liberal credit policy to increase sales, but expects that 9 percent of the new accounts will be uncollectible. Collection costs are 5 percent of new sales… read more
Manal Elkhoshkhany
Manal Elkhoshkhany
Tutor
4,550 satisfied customers
10.22 (Implement the String class) The String class is
10.22 (Implement the String class) The String class is provided in the Java library. Provide your own implementation for the following methods (name the new class MyString1): public MyString1(char[] c… read more
LogicPro
LogicPro
Engineer
13,274 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