Instead of creating a bool data type, I find it easier to create an int data type. If the criterion meets, int x = 1.
int f = checkforLuhn(y);
if (f == 1)
{
LUHN = 1;
}
Are the two ways indeed replaceable?
Reply
https://edstem.org/us/courses/176/discussion/1711556?[learn_press_profile]