# Programming principle | Computer Science homework help

In this  assignment,  you will  be analyzing sequence,  selection,  and loop,  the relational comparison operators,  precedence when combining AND  and OR  operators,  and the case structure. Instructions: Part I. 1. 2. 3. 4. 5. Design a program  in which,  from  a date  entered by  keyboard with the format DAY,  MONTH,  YEAR,  the date of  the following day  is  obtained. Write a program  that  asks  the user  to enter  two numbers.  If  the first  number entered is  greater  than the second number,  the program  must  print  the message “The first  number  is  the  largest”,  otherwise the  program  must  print  the message “The first  number  is  the  smallest”.  Consider  the case that  both numbers  are equal  and print  the  corresponding message. Write a program  that  simulates  the normal  operation of  a modern elevator  with 25 floors  (levels)  and that  has  two buttons:  UP  and DOWN,  except  on the lower floor  (level),  that  there  is  only  a call  button to  UP  and the  last  floor  (level)  that only  exists  DOWN  button. Write a program  that  selects  the arithmetic  operation to be executed between two numbers  depending on the value of  a variable called selectionOp. Write an algorithm  that  displays  the next  double message: Enter  a month (1 for  January,  2 for  February,….…) Enter  a day  of  the month

The algorithm  accepts  and stores  a number  in the “month”  variable  in response to the  first  question and accepts  and stores  a number  in the “day”  variable in response to the second question.  If  the  month entered is  not  between 1 and 12 inclusive,  an information message should be displayed  to  the user  warning that the number  entered is  not  valid as  a month;  in the same  way  we proceed with the number  that  represents  the day  of  the month if  it  is  not  in the range between 1 and 31.   Modify  the  algorithm  to alert  the  user  to no  enter  numbers  with decimals. Part II. 1.  In the  following pseudocode,  what  percentage raise will  an employee in Department  8 receive? if  department  <  5  then   raise =  SMALL_RAISE else    endif if  department  <  14  then raise  =  MEDIUM_RAISE else    endif if  department  <  9  then raise  =  BIG_RAISE endif 2.  Design a flowchart  or  pseudocode for  a program  that  accepts  two numbers from  a  user  and displays  one of  the following messages:  First  is  larger, second  is  larger,  numbers  are equal. 3.  Cecilia’s  Boutique wants  several  lists  of  salesperson data.  Design a flowchart or  pseudocode for  the  following: a.  A program  that  accepts  one salesperson’s  ID  number,  number  of items  sold in the last  month,  and total  value of  the items  and displays data message only  if  the salesperson is  a high performer—defined as a person who sells  more than 200 items  in the month.

a.  A program  that  accepts  an employee’s  data and  displays  it  with  a message that  indicates  whether  the employee is  a candidate for  the carpool  (because he lives  in one of  the  two cities). b.  A program  that  continuously  accepts  employee data until  a sentinel  value is  entered and displays  a list  of  all  employees  who are carpool  candidates. Make sure  the decision-making process  is  as  efficient  as  possible. c.  A program  that  continuously  accepts  employee data until  a sentinel  value is  entered and displays  a list  of  all  employees  who are ineligible to carpool because they  do not  live in either  Wonder  Lake or  Woodstock.  Make sure the decision-making process  is  as  efficient  as  possible. Requirements: •  Show your  work  in a Word  document. o  Include all  your  work  for  each question. o  You can include screenshots  of  work  done on paper. •  For all  justification exercises,  remember  to use the definitions  and principles  that we have learned thus  far. •  You must  prepare a written work  where you respond to the programming exercises.  The work  must  comply  with APA  academic  writing standards.  You must  support  your  answer  using appropriate  sources  that  are properly  cited.    •  Minimum  four  pages  in length,  excluding the Title and Reference page. •  APA format,  including an in-text  citation for  referenced works. •  At least  three  resources.

Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

## Calculate the price of your order

Total price:
\$0.00

How it works?

Follow these simple steps to get your paper done

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

## Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.