Showing posts with label bitoperation. Show all posts
Showing posts with label bitoperation. Show all posts
How To Divide Two Number Without Divide / Operator

How To Divide Two Number Without Divide / Operator

#include <iostream> #include <bits/stdc++.h> using namespace std; int add(int a, int b) {   int carry=1,sum;   while(c...
Read More
How To Multiply Two Number Without Multiply * Operator

How To Multiply Two Number Without Multiply * Operator

#include <iostream> #include <bits/stdc++.h> using namespace std; int mul(int a, int b) {     int carry=1,sum;     whi...
Read More
How To Subtract Two Number Without Minus - Operator

How To Subtract Two Number Without Minus - Operator

#include<iostream> #include<stdio.h> using namespace std; int main() { int a,b,carry=1,sum; scanf("%d %d",...
Read More
How To Add Two Number Without Plus + Operator

How To Add Two Number Without Plus + Operator

#include<iostream> #include<stdio.h> using namespace std; int main() {   int a,b,c,d,carry=1,sum,i,j;   scanf("...
Read More