Draw flowchart AND write pseudo code
The retail store wants a program that will print out the profit for the day. They will enter how much money in the drawer at the end of each day along with the total amount spent for business costs. The difference is the profit.
DECLARE : MONEY,INVESTMENT
OUTPUT: "Enter MONEY for the day: "
INPUT : MONEY
OUTPUT: "Enter The investment : "
INPUT : INVESTMENT
PROFIT= MONEY-INVESTMENT
OUTPUT : PROFIT
Draw flowchart AND write pseudo code The retail store wants a program that will print out...
Draw flowchart AND write pseudo code A large pizza is composed of eight slices. Create a program that will print out the amount of slices each person may have.
What is the cyclomatic complexity of the following pseudo code program segment? Use line numbers in the left column to indicate independent paths. Hint: Draw a flowchart and draw execution lines through the flowchart. 1) Read (A, B) 2) If (A>B) 3) Print A 4) Else 5) Print B 6) While (A>B) 7) A = A-1 8) End
Q4. Write an algorithm, draw the flowchart and write a C++ program to • Read the Number and Letter from the user • Check the number and letter then print the corresponding month name as given in Table Q4 using IF ELSE STATEMENT. Table: Q4 Number and Letter Month Name JANUARY 2 F FEBRAURY 3 M MARCH 4 A APRIL Other numbers Invalid Input 1J Sample Output: Enter the value of number:1 Enter the value of letter:) JANUARY Algorithm: Flowchart:...
guys can you please help me to to write a pseudo code for this
program and write the code of the program in visual studio
in.cpp.
compile the program and run and take screenshot of the output
and upload it. please help is really appreciated.
UTF-8"CPP Instruction SU2019 LA X 119SU-COSC-1436- C Get Homework Help With Che X Facebook -1.amazonaws.com/blackboard.learn.xythos.prod/584b1d8497c84/98796290? response-content-dis 100% School of Engineering and Technology COSC1436-LAB1 Note: in the instruction of the lab change "yourLastName" to your last...
Scenario: John Lee wants a program that allows him to enter the following three pieces of information. His savings account balance at the beginning of the month, the amount of money he deposited during the month, and the amount of money he withdrew during the month. He wants the program to display his balance at the end of the month. Requirements: Complete an IPO chart for this problem, using pseudo code or flowchart in the Processing column. Also complete a...
# C++ Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.
PLEASE UPLOAD or Write a simple PSEUDO CODE AND JAVA CODE for this program WITH COMMENTS IN BOTH TELLING WHAT EACH PART DOES. (I NEED BOTH CODES NOT JUST ONE OR THE OTHER) Problem Statement A golf club has a small tournament consisting of five golfers every weekend. The club president has asked you to design a program that does the following: Reads player’s names and their scores from the keyboard for each of the five golfers and simulates writing...
Write detailed pseudo code for a program that is designed to organize a family's tax payments for the past 20 years. Prompt the user for the tax amount and also the year. Use appropriate data structure to store the tax amount and the year. Use a linear search algorithm to determine which year the family paid the highest tax, and display the result. Calculate the average amount of tax paid over the years, and display the result. This is for...
How do you write out this C++ program and zip the files?
A local department store is having a BoGoHo (Buy One, Get One Half Off) sale. The store manager wants a program that allows the salesclerk to enter the prices of two items. The program should calculate and display the total amount the customer owes. The half-off should always be taken on the item having the lowest price. For example, if the items cost $24.99 and $10, the half-off...
Looking for code in MATLAB:
A store owner asks you to write a program for use in the checkout process. The program should: Prompt the user to enter the cost of the first item Continue to prompt for additional items, until the user enters 0 Display the total. Prompt for the dollar amount the customer submits as payment. Display the change due.