Complete pseudocode, flowchart, in C program for the following programs: Create
ID: 3547730 • Letter: C
Question
Complete pseudocode, flowchart, in C program for the following programs:
Create a program using a loop that reads in a list of positive integers from the user until the user enters the value -1 as a sentinal.
At that time the program should display the largest value in the input list.
Create a program to calculate and display commission based on the amount of sale that the user enters. The commission rate is 12%. Using a loop, continue to calculate and display the commission until the user enters a -1 for the amount of sales.
Explanation / Answer
store all the imput values in a array and then find the maximum value in the array using for loop
and when u enter value -1 use if condition to termiante the program using return 0
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.