0

Hello,

well am just a beginner in c++ n my question is that how to you input in a void function the ranking of a student result??
Ive implement a program where we have to input the student marks and calculate the ranking/grading n calcutale the CPA?
Can any1 provide me with the answer plz

Thx

4
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by Lerner
0

A void function receives values just like any other function, it just doesn't return any.

0

but the prob is that the program is stored in a files so how can i call it in a void function??
am really confused

0

but the prob is that the program is stored in a files so how can i call it in a void function??
am really confused

All programs are stored in files. Where is the data stored? In a file? Is it typed in by the user? Is there more than one program file? You are going to have to be more specific about what your question is regarding the void function.

0

Functions can have have a return type of void and they can have void, meaning no parameters passed, but I've never heard of a void function before. Please be more specific about what you want/need.

Any function can call any other publically accessable function, irrespective of what the return type or parameter list is.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.