logo

SIT105 Critical Thinking and Problem Solving | Report

9 Pages1576 Words285 Views
   

Added on  2019-11-08

SIT105 Critical Thinking and Problem Solving | Report

   Added on 2019-11-08

ShareRelated Documents
qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmrtyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqweCritical Thinking and problemSolvingIPO chart and Pseudo codes
SIT105 Critical Thinking and Problem Solving | Report_1
Task 1IPO chart for tax calculation on salaryInputProcessingOutputSalaryCheck if Salary is less than 0Message to the user “Please Enter a valid Entry greater than 0”.Check if Salary is less than 18200Message to the user “Your salary is tax free”.Check if Salary is more than 18200 but less than 37000.Calculates tax as per the rate 19cfor each $1 over $18,200Message to the user “Your salary is this much, salary, you have to pay this calculated tax”Check if Salary is more than 37000 but less than 80000.Calculates tax as per the rate $3,572 plus 32.5c for each $1 over $37,000Message to the user “Your salary is this much, salary, you have to pay this calculated tax”Check if Salary is more than 80000 but less than 180000.Calculates tax as per the rate $17,547 plus 37c for each $1 over $80,000Message to the user “Your salary is this much, salary, you have to pay this calculated tax”Check if Salary is more than 180000.Calculates tax as per the rate $54,547 plus 45c for each $1 over $180,000Message to the user “Your salary is this much, salary, you have to pay this calculated tax”1 | P a g e
SIT105 Critical Thinking and Problem Solving | Report_2
Task 2Pseudo code to print average of eleven numbers and multiple occurrence of number 6//Calculation ModuleDeclare an integer array ‘readEleven[]’ Initialize an integer variable ‘count’ with value 0Initialize an integer variable ‘sum’ with value 0Declare a float variable ‘average’ //A loop that reads eleven values for the declared arrayBegin LoopRead a value for array readEleven[] until count exceeds 11If value read is equals to sixIncrement value of count by 1End IfEnd Loop//Loop will run eleven timesBegin LoopSet sum = sum + loop value of readEleven[]End LoopSet average = sum/11Print “The average of eleven numbers is: "+avgPrint “The number 6 occurs "+count+" times//Testing ModuleCreate an object to call Calculation ModuleCall Calculation Module method with no argumentsEnd.2 | P a g e
SIT105 Critical Thinking and Problem Solving | Report_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Computer Science Assignment Pseudocode
|9
|895
|315

SIT105 Critical Thinking and Problem Solving for IT Assignment
|4
|541
|179

Critical Thinking and Problem Solving For IT 1 1 SIT105
|8
|830
|314

Introduction to Computer Science - Algorithms for Problem Solving
|11
|974
|222

Object Oriented Programming with Java
|6
|619
|334

Programming Principles | Assignment
|9
|533
|25