IN C++ PLEASE What percentage of men and women pursue STEM (Science, Technology, Engineering, Math) degrees? With your p

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

IN C++ PLEASE What percentage of men and women pursue STEM (Science, Technology, Engineering, Math) degrees? With your p

Post by answerhappygod »

IN C++ PLEASE
What percentage of men and women pursue STEM (Science,
Technology, Engineering, Math) degrees? With your programming
partner, you will complete a program that reads from a file called
stem.txt and writes to an output file called stemout.txt. It does
not store any data. But it uses loops and functions to read from
the file and do some analysis. It calculates the percentage of men
and women in each major and writes the name of the major,
percentage men, and percentage women to the output file.
Percentages should be printed to two decimal places. You must
ignore the first line in stem.txt, which is a header line. The
function openFile() has been written for you. You must write the
ratioCalc() function. Optional: What other statistics can you
calculate and add to the output file? Design a poster in Google
slides to explain visually and upload.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply