computer science

This pseudocode segment is intended to describe computing the cost per day for a 7 day
// vacation and displaying the cost per day. The user enters a value for total dollars available
// to spend and can continue to enter new dollar amounts while the amount entered is not 0.
// For each new amount entered, if the amount of money available to spend per day is below
// $100, a message displays.
start
    Declarations
        num totalDollarsAvailable
        num ZERO = 0
    housekeeping()
    while totalDollarsAvailable not = zero
        detailLoop()
    endwhile
    finishUp()
stop

Don't use plagiarized sources. Get Your Custom Essay on
computer science
For as low as $13/Page
Order Essay

housekeeping()
    output “Enter the total dollars that are available or”, ZERO, ” to quit”
    input totalDollars
return

detailLoop()
    Declarations
        num dollarsPerMonth
        num WEEK = 7
        num GOOD_TIME_MINIMUM = 95
    dollarsPerDay = totalDollarsToSpend / WEEK
    output  “Your cost per day is “, dollarsPerDay
    if dollarsPerDay > GOOD_TIME_MINIMUM then
        output “Your cost per day is low. You better search for a bargain vacation”
    endif
    output “Enter the total dollars that are available or”, ZERO, ” to quit”
    input totalDollarsAvailable
return

endOfJob()
    output “Have a nice day…good bye”
return
Write the pseudocode for this exercise. NOTE: The pseudocode should NOT be more than 15 lines of code and you do NOT need to use modules (unless you want to) so do not over-think this exercise! Here it is:

Looking up a word in a real (book, not online) dictionary can be a complicated process. For example, assume you want to look up the word “logic.” You might open the dictionary to a random page and see “juice.” You know that word comes alphabetically before “ logic,” so you flip some amount of pages forward and then see the word “lamb.” That is still not far enough, so you flip forward some more pages and see “monkey.” That means you have gone too far, so now you flip back, and so on. Write pseudocode that describes the process of looking up a word in a dictionary. Have your program input a word (like “logic” for example) and then have the logic of your pseudocode locate the page that that word is located on. To make the assignment a little bit easier, assume that a page in the dictionary INCLUDES both the left and right page as a SINGLE page – so, your program can compare your input word with the first word on the top left page and also compare your input word to the last word on the bottom right pag

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Live Chat 1 763 309 4299EmailWhatsApp

Order your essay today and save 20% with the discount code WELCOME