Jump to content

Recommended Posts

Posted

In primul rand tu ce definesti prin "int f (int n, int k)", in al  doi-lea rand ce vrei sa iti returneze? Vezi daca merge asa:

void f(int n, int k) {
    if (n!=0) {
        if ((n % 10) == k) {
            return 1;
        } else {
            return 0;
        }
    }
}

 

Filme: Click.

Contact: Steam

  • gaby changed the title to Rezolvare problema subprogram f

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.