1publicstaticintmod(int x1, int x2){
2// this is a function only.3// don't forget the class!!!4int d = x1 / x2 - 1;
5int result = x1 - (d * x2);
67return result;
8 }
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