[ad_1]
This seems like the easiest way to do it.
if(currObj->GetDataVal() < 0) negativeCntr++;
1
[ad_2]
solved Need help, need to count the number of negative values inside a linked list, C++ [closed]
[ad_1]
This seems like the easiest way to do it.
if(currObj->GetDataVal() < 0) negativeCntr++;
1
[ad_2]
solved Need help, need to count the number of negative values inside a linked list, C++ [closed]