0

Hello Everyone,

This is my first day here. I've not browsed the site yet. But I wanted to know the answer of these questions. I'd be glad if anyone of you can help me.

1.Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;

2.Exchange two numbers without using a temporary variable.

3.Find if the given number is a power of 2.

4.Multiply x by 7 without using multiplication (*) operator.