Q. Write an algorithm to double a number in two different ways: (i) n+n, (ii) 2x


Answer :-

1. Start
2. Input a number
3. First = number + number
4. Second = number * 2
5. Print First
6. Print Second
7. Stop

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post