How to shorten this?
1 2 3 4
|
int TotalProject,TotalTest,TotalMark;
TotalProject = 0;
TotalTest = 0;
TotalMark = 0;
|
Is there any way to shorten it?
Like in Lua,
I am sorry if I posted in the wrong section of forum. Thank you for the help.
Last edited on
you can shorten it in c++ like
int TotalProject=0,TotalTest=0,TotalMarks=0;
BTW did you found the solution yourself?
Last edited on