Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I don\'t have no idea about prototypes This is instruction. 1. Important! Write

ID: 3552918 • Letter: I

Question

I don't have no idea about prototypes


This is instruction.

1. Important! Write your code incrementally. Implement the algorithm one function

at a time. Thus, after writing a function, check that it compiles and runs correctly.

Test the function thoroughly before implementing the next function.

2. All function prototypes should be written for each function and placed BEFORE the

main procedure.

3. All functions should be written AFTER the main procedure.

4. Each function should have a comment explaining what it does.

5. Each function parameter should have a comment explaining the parameter.


#include <iostream>

#include <cmath>

#include <iomanip>


using namespace std;


// FUNCTION PROTOTYPES GO HERE:

int main()

{

int * scores1;

int * scores2;

int * scores3;

int * totals;

int students(0);

double avg(0.0);

int min, max, above;

Explanation / Answer

Can you provide the functions ?

However , it is simple declaring function prototypes .

A function prototype is a declaration in C and C++ of a function, its name, parameters and return type. Unlike a full definition, the prototype terminates in a semi-colon.

int getsum(float * value) ;

Prototypes are used in header files so that external functions in other files can be called and the compiler can check the parameters during compilation.

Example:


Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote