Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

... THIS IS MY ACTIVITY#3 PLEASE REFER THIS TO QUESTION IN 1,2,3 UP HERE^ WHAT I CODE HERE IS MY SOLUTION GRADING SYSTEM SOLUTION #include

image text in transcribed

...

THIS IS MY ACTIVITY#3 PLEASE REFER THIS TO QUESTION IN 1,2,3 UP HERE^ WHAT I CODE HERE IS MY SOLUTION

GRADING SYSTEM SOLUTION

#include #include #include using namespace std; double calculate_point (int FG) { double pt; if(FG>97 && FG94 && FG91 && FG88 && FG85 && FG82 && FG83 && FG78 && FG76 && FG=5) { r1="passed"; } else { r1="failed"; } return r1; } int main() { int id[3]; int prelims[3]; int midterm[3]; int prefinal[3]; int tentative[3]; string names[3]; for(int i=0;i>id[i]; cout>names[i]; cout>prelims[i]; cout>midterm[i]; cout>prefinal[i]; cout>tentative[i]; cout

int num[3]; num[0]=FG1; num[1]=FG2; num[2]=FG3; cout

cout

THIS IS C++ CODE (PLEASE DONT USE ADVANCE CODE)

please help me i'm stressing out.

B. Remember Activity #3 Sentence Problem and Grading System, do the following: Create a Program with the following details: 1. A Function to do the Sentence Problem (refer to Act#3a problem) 2. A Function to do the Grading System (refer to Act#3b problem) 3. In the main program, ask the user to choose from a menu and call the appropriate function according to the user's choice. Loop the choices until exit. Note: You can define more than 2 functions depending on your need and decide which is best to apply to your functions (Return a Value or Does not Return a Value) Sample Output is similar to the above. B. Remember Activity #3 Sentence Problem and Grading System, do the following: Create a Program with the following details: 1. A Function to do the Sentence Problem (refer to Act#3a problem) 2. A Function to do the Grading System (refer to Act#3b problem) 3. In the main program, ask the user to choose from a menu and call the appropriate function according to the user's choice. Loop the choices until exit. Note: You can define more than 2 functions depending on your need and decide which is best to apply to your functions (Return a Value or Does not Return a Value) Sample Output is similar to the above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+Now jump forward 10 years to project:

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago