You are on page 1of 1

1.

Write a program to get Least Significant Bit ( LSB ) of a


number.
[ hints : - input : - Number : 11, output : - 1 ]

2. Write a program to perform all arithmetic operations.


[ hints : - input : - a : 10, b : 5, output- sum : 15, difference : 5,
product : 50, Quotient : 2, Modulus : 0 ]

3. Write a program to find xY of any number.


[ hints : - input : X : 2, Y : 3, output : 8 ]

4. Write a program to convert days to years ( take 365 days )


weeks ( take 7 days ) and days.
[ hints :- input : 360, output : Years : 0, Weeks : 51, Days 3 ]

5. Write a program to check is year leap year or not.


[ hints : - input : - year : 2016, output : - 2016 is Leap Year ]

You might also like