Sales 0 Sales Q43818084
C++ please!
sales >= 0 AND sales <= 200000 1. f50 points) This program generates two output files. Write a program that asks the user to enter the IDs and test scores for 5 students. Save the ID and score of students who pass the test in the file “pass.txt”. Also save the ID and score of students who fail the test in the file “fail.txt”. The passing score is 60. At a minimum turn in the C++ code and output files. 2. (50 points] A teacher wants a program to give students bonus points in a test. The program should ask for the original test scores of 5 students, and it should store them in an array. The program then uses a function giveBonus to give each student 5 points in addition to the original score. However, the new score (i.e. the sum of the original score and 5 bonus points) cannot exceed 100. If it is higher than 100, the function must change the new score to 100. The function main() will display the new score of every student on the screen. At a minimum turn in the C++ code. Show transcribed image text sales >= 0 AND sales
Expert Answer
Answer to sales >= 0 AND sales …
OR