Originally Posted by MK27 Just remove every single asterisk in that piece of code. Except this one: Code: int main(int argc, char *argv[]) the one in red too Code: num1 = (3 * (num1))+1;
int main(int argc, char *argv[])
num1 = (3 * (num1))+1;
why would I remove that? I'm multiplying 3 times the value of num1.
things to remember