subtract

    0

    0

    Bahaa Saleh

    In this code, the subtract function takes two integers as input and returns an integer.

    int subtract (int, int);
    
    int main()
    {
      int x, y, fxy;
      scanf("%d %d", &x, &y);
      fxy = subtract(x,y);
      scanf ("%d\n", fxy);
      return 0;
    }
      
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.