Read two integers and output their sum, difference, multiplication [Source Code]
Write a program to calculate the area of a circle given the radius [Source Code]
Calculate simple interest given principle, duration and rate of interest [Source Code]
Finding a remainder after dividing one number by another. [Source Code]
Write a program to read a character and output its ASCII value. [Source Code]
Write a program to read a floating point number and output its integer value. [Source Code]
Write a program to read a small character and convert it into capital character. [Source Code]
Conditionals:
Write a program that takes as input two integers. For each integer, it should output the whether the given integer is even or odd.
Write a ‘C’ program to take as input 3 integer numbers. The program then outputs the largest integer.
Write a ‘C’ program to take as input 3 floating point numbers. The program then outputs the number with largest magnitude (Largest magnitude number is the largest number obtained after ignoring the sign)
Write a ‘C’ program to take as input 5 integers. The program then outputs all input integers that are larger than the average of the 5 input integers. Assume distinct input integers.
Write a program to read an integer input from the user and print the last two digits of that integer.
Write a program to read two characters and determine if the first character is capital or small form of the second character
Write a program to read an integer and output which of 2, 3, and 5 divide it. There should be only one print statement.