reverse

JavaF

Reverse Number sign

An integer value N is passed as the input. The program must reverse the sign of N and print -N as the output. Input Format:The first line…
PythonF

Reverse words

Given a string S as the input Write a program to print the reverse order of the words in the string S. Input Format:The first line contains S.…
CF

Reverse Order – print N to 1

A number N is passed as the input. The program must print the numbers from N to 1 (inclusive of N). Input Format: The first line denotes the…
PythonF

Binary Reverse Pairs

The program must accept Noddintegers and print all possible pairs of integers (X, Y) where the binary representation of X…
PythonF

Last Two Bits in Reverse

The program must accept an integer N as the input. The program must print the last two bits of N in reversed order as the output. Example…