Placeholder

CSIS 111 Module Week 5 ASSIGNMENT USER DEFINED FUNCTIONS

$15.00

Description

Write a C++ program that reads data from an input file, takes the data and computes student grades for an assignment by converting the raw score to a percentage given each student’s score and the total points. The final score must be rounded up to the nearest whole value using the ceil function in the header file and displayed as a percentage. You must also display the floating-point result up to 5 decimal places.
You must use at least 2 functions: one to print the last name of the student and another function to compute and print the percentage as well as “Excellent” if the grade is greater than 90, “Well Done” if the grade is greater than 80, “Good” if the grade is greater than 70, “Need Improvement” if the grade is greater than or equal to 60, and “Fail” if the grade is less than 50. The main function is responsible for reading the input file and passing the appropriate arguments to your functions.
Here is an example of what the input file might look like: name score tot possible
Here is an example of what the output of your program might look like:
Submit C++ Programming Assignment 5 by 11:59 p.m. (ET) on Monday of Module/Week 5.
SCREENSHOTS
SOLUTION
PAYMENT
CSIS 111 Week 5
CSIS 111 Assignment 5
The solution includes Visual Studio project, report, screenshots.
Attachments [Move over files to preview content of those files]
CSIS_111_Week_5.zip (20.69 MB)
CSIS111-Week-5-Screenshot-1.png
CSIS111-Week-5-Screenshot.png
Firstname_Lastname_Assignment5_Report.docx
Visual Studio Project
CSIS111Assignment5
.vs
CSIS111Assignment5
v16
.suo
Browse.VC.db
ipch
AutoPCH
c7b471562bae2035
ASSIGNMENT5.ipch
cdf9c28b8f1c5955
ASSIGNMENT5.ipch
CSIS111Assignment5
Assignment5.cpp
CSIS111Assignment5.vcxproj
CSIS111Assignment5.vcxproj.filters
CSIS111Assignment5.vcxproj.user
Debug
Assignment5.obj
CSIS111A.083fd966.tlog
CSIS111Assignment5.lastbuildstate
CSIS111Assignment5.exe.recipe
CSIS111Assignment5.ilk
vc142.idb
vc142.pdb
input.txt
CSIS111Assignment5.sln
Debug
CSIS111Assignment5.exe
CSIS111Assignment5.pdb
Preview Assignment5.cpp
xxxxx xxxxxxxxx xxx;
//xxxxxx xxxxxxxxxxxx: xxxxxxxxx xxx xxxx xxxxxxxxxxx xxxx — xx xxxxxxxxx
//xxxxxxxx xxxxxxxxxx
xxxx xxxxxxxxx(xxxxxx xxx, xxxxxx &xxxx, xxxxx &xxxxx, xxxxx &xxxxx);
void printName(string name); void printResult(float score, float total);
int main() { //In cout statement below SUBSTITUTE your name and lab number cout << "Firstname Lastname -- Assignment #5" << endl << endl; //Variable declarations string line; string name; float score; float finalScore; xxxxx xxxxx; xxxxxxxx xxxxx; // xxxxx xxxxxx //xxxxxxx xxxxx xxx::xxxx << xxx::xxxxx; xxx::xxxx << xxx::xxxxxxxxxxxx(5); // xxxx 5 xxxxxx xx xxxxxxxxx xxxxx.xxxx("xxxxx.xxx"); Preview input.txt Weems 50 60 Dale 51 60 Richards 57 60 Smith 36 60 xxxxx 36 60 xxxxxx 44 60 xxxx 45 60 Price: $15 Buy Now Checkout Added to cart Add to Cart Checkout Added to cart You May Also Like: CSIS 111 Module Week 1 ASSIGNMENT BASIC ELEMENTS CSIS 111 Module Week 2 ASSIGNMENT INPUT OUTPUT CSIS 111 Module Week 3 ASSIGNMENT CONTROL STRUCTURES IF ELSE CSIS 111 Module Week 4 ASSIGNMENT CONTROL STRUCTURES WHILE FOR DO CASE CSIS 111 Module Week 6 ASSIGNMENT USER DEFINED SIMPLE DATA TYPES STRING TYPES CSIS 111 Module Week 7 ASSIGNMENT ARRAYS CSIS 111 Module Week 8 ASSIGNMENT BATTLE SHIP GAME

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.