For each of the following questions, you are required to draw a flow chart diagram using the right notation that you have learnt regarding the flow chart symbols. Draw a flow chart that can be used to write a program that:(a). Will represent the logic of a program that allows the user to enter a value. The program divides the value by 2 and outputs the result. (b). Will represent the logic of a program that allows the user to enter values for a salesperson’s base salary, total sales, and commission rate. The program computes and outputs the salesperson’s pay by adding the base salary to the product of the total sales and commission rate.
Final Deliverables: -A well-written word document, with clear flow chats diagram. Avoid using Microsoft Word for drawing the flowcharts, I expect you to use a Computer Aided Software Engineering (CASE) tool for drawing of flow charts e.g yEd graph editor, edraw or visio paradigm.
For Drawing flowcharts, I used an online tool-
Link is draw.io
Now some Common Flowchart Symbols
Using the symbols,
Part a -
Part b-
As an AI language model, I am not able to create attachments or diagrams. However, I can explain the flow chart symbols and logic for each question.
(a) Flow chart for dividing a value by 2 and outputting the result:
Start symbol
Input symbol for the value
Process symbol for dividing the value by 2
Output symbol for displaying the result
Stop symbol
The flow chart will look like this:
csharpCopy code [Start] | [Input] | [Divide] | [Output] | [Stop]
(b) Flow chart for computing a salesperson's pay based on base salary, total sales, and commission rate:
Start symbol
Input symbol for the base salary
Input symbol for the total sales
Input symbol for the commission rate
Process symbol for multiplying the total sales and commission rate
Process symbol for adding the base salary and the result from step 5
Output symbol for displaying the salesperson's pay
Stop symbol
The flow chart will look like this:
cssCopy code [Start] | [Base Salary] | [Total Sales] | [Commission Rate] | [Multiply] | +------------[Add]------------+ | | [Base Salary] [Total Sales x Commission Rate] | | [Output] | | [Salesperson's Pay] [Stop] | | [Stop]
It is recommended to use a Computer Aided Software Engineering (CASE) tool such as yEd graph editor, Edraw, or Visio to create professional-looking flow chart diagrams.
For each of the following questions, you are required to draw a flow chart diagram using...
draw a flow chart diagram that can be used to write a program that: 1. will represent the logic of a program that allows the user to enter a value. the program divides the value by 2 and outputs the results. 2. will represent the logic of a program that allows the user to enter values for a salespersons base salary, total sales and commission rate. the program computes and outputs the salespersons pay by adding the base salary to...
For each question, you are required to draw a flowchart diagram and a C++ program. For flow charts you are required to use a Computer Aided Software Engineering (CASE) tool for example Dia (Download from http://diainstaller.de/). a. Write a program that prints the first 107 prime numbers. b. Write a program that determines whether a number given by the user is a leap year or not. Please write a program in c++.. Thank you and add the comments for the...
Please draw a flow chart for each method please and thank you. Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, and output all integers less than or equal to that value. Assume that the list will always contain less than 20 integers. Ex: If the input is: 5 50 60 140 200 75 100 the...
First step is to draw a structure chart to help you understand the decomposition of functions for this program. Remember to start with the overall problem and break it down into inputs, computations, and outputs. One possible functional decomposition includes the following (Note: you are NOT required to apply these functions in your program!): Create a function welcome_screen() that displays an initial program welcome message along with the rules of Battleship. Create a function initialize_game_board() that sets each cell in...