1//You cannot assign something to a numerical constant2int num1,num2
3if(num1%num2=0)//error4//You can't assign value of num1%num2 to 05//Instead you can check whether (num1%num2) is equal to 0 or not by:6if(num1%num2==0)// no error
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content