Write an program to perform division of two numbers without using division operator (‘/’).
We are given set of bipolar magnets each domino-shaped. The objective is to place magnets on a M X N board which should meet a set of conditions where both N and M are not odd.
Write an algorithm to generate 0 and 1 with 75% and 25% probability respectively using a specified function which produces either 0 or 1 each with 50% probability.
Write a program to print all numbers between 1 to N without using semicolon.
Given two integers, swap them without using any third variable.
What should be the if condition in below code snippet, so that output would be “Hello World”.
Given three integers, find maximum and minimum number between them without using conditional statements or ternary operator.
Given a large number N, find all positive numbers less than N that can be represented as sum of two cubes for at-least two different pairs.
Write a program to print “Hello World” with empty main function i.e. without writing anything inside main() function.
Write a program to print all numbers between 1 to N without using loop.
Write a program to print a semicolon without using semicolon anywhere in the program.