Program to compute the sum of the two given integers. Return 18 if one of the integer values given is in the range 10..20 inclusive.

Here, we have a basic program example to calculate the sum of two numbers and return 18 if one of the number is within the range of 10-20 using different languages. This program is created in c language, c++, Java, and Python. Program to calculate the sum and check if the number is within the…

Read More »

A program to read an amount (integer value) and break the amount into the smallest possible number of bank notes.

Here, we have a basic program example to break the user input amount into smallest possible number of bank notes using different languages. This program is created in c language, c++, Java, and Python. Note: The possible banknotes are 100, 50, 20, 10, 5, 2 and 1. Program to break the amount into smallest bank…

Read More »