Eclipse, Java Homework, programming homework help

User Generated

Ozq0

Programming

Description

the instructions are attached use Eclipse

Unformatted Attachment Preview

Unit  2  Assignment   Grading  Information:  This  Program  is  due  on  Date  Specified.   Comments  are  NOT  REQUIRED;;  flow  charts  and  pseudocode  are  REQUIRED.   Directions     Points     The  file  must  be  called    (where  the  xxx  is  either  a   .doc,  .ppt,  .rtf,  or  .xls)  (Example:  DKUnit2.doc)   Proper  coding  conventions  required  the  first  letter  of  the  class  start  with  a  capital   letter  and  the  first  letter  of  each  additional  word  start  with  a  capital  letter.       In  the  requested  file  you  will  draw  a  flowchart  and  write  pseudo-­code  as  described   below.  Chose  the  application  in  which  you  feel  more  comfortable  to  draw  and  write   these  answers:  either  Word,  PowerPoint,  Open  Office,  or  Excel.   Flowchart   •   You  have  a  monthly  budget  of  $600  for  food.  Create  a  flowchart  to  show  how   close  you  are  to  the  budget  based  on  the  input  of  amount  spent.   •   Create  a  flowchart  that  prompts  and  gets  input  for  the  amount  spent  already  in   dollars.   •   If  the  amount  spent  is  above  100%  of  the  budget,  print  “Over  Budget,  Stop   Now!”.   •   If  the  amount  spent  is  75-­100%  print  “Nearing  or  at  budget,  time  to  stop   spending”.   •   If  the  amount  spent  is  50-­74  then  print  “Still  on  budget,  you  may  continue   spending”.   •   If  the  amount  spent  is  25-­59  then  print  “Still  on  budget,  you  still  have  plenty  to   go”.   •   If  the  amount  spent  is  0-­24  then  print  “Spend  away,  maybe  a  nice  dinner   out?”.   •   Be  sure  to  use  the  proper  decision  structures.   50%   Pseudocode   •   You  have  a  monthly  budget  of  $600  for  food.  Create  a  pseudocode  to  show   how  close  you  are  to  the  budget  based  on  the  input  of  amount  spent.   •   Create  a  pseudocode  that  prompts  and  gets  input  for  amount  spent  already  in   dollars.   •   If  the  amount  spent  is  above  100%  of  the  budget,  print  “Over  Budget,  Stop   Now!”.   •   If  the  amount  spent  is  75-­100%  print  “Nearing  or  at  budget,  time  to  stop   spending”.   50%   •   If  the  amount  spent  is  50-­74  then  print  “Still  on  budget,  you  may  continue   spending”.   •   If  the  amount  spent  is  25-­59  then  print  “Still  on  budget,  you  still  have  plenty  to   go”.   •   If  the  amount  spent  is  0-­24  then  print  “Spend  away,  maybe  a  nice  dinner   out?”.   •   Be  sure  to  use  the  proper  decision  structures.   •   The  pseudocode  should  match  the  functionality  of  the  flowchart  above.   NOTE:  Complete  your  activity  and  submit  it  by  clicking  “Submit  Assignment”   Total  Percentage       100%  
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hi! Please check it.

Flowchart



Pseudocode
Set budget to 600.
Input the spent amount
Set percentage to spent amount...


Anonymous
I was having a hard time with this subject, and this was a great help.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags