Computer Science, asked by avyakthaprakash, 1 year ago

Write a program to find the bitwise OR of two decimal numbers.
An OR gate reads 2 input either 0 or 1 and outputs 0 iff both the inputs are 0 else 1. Similarly write a program to read two decimal numbers and finds OR of two numbers .
EXAMPLE :
(3) 10 = (011) 2
(5) 10 = (101) 2
OR of 3 and 4 is :
(7) 10 = (111) 2

Answers

Answered by moainla
1
maths or wG jf nnv mio
Similar questions