How can you actually divide numbers without subtraction?

Question

How can you actually divide numbers without subtraction?

in progress 0
Reagan 2 weeks 2021-09-07T23:47:19+00:00 1 Answer 0

Answers ( )

    0
    2021-09-07T23:48:21+00:00

    #include <stdio.h> #include <stdlib.h>

    // Function to perform division (x / y) of two numbers x and y. // without using division operator in the code. int divide(int x, int y)

    { // handle divisibility by 0. if (y == 0)

    { printf(“Error!! Divisible by 0”); exit(1);

    } // store sign of the result.

    int sign = 1; if (x * y < 0)

Leave an answer

45:7+7-4:2-5:5*4+35:2 =? ( )