Programs in C
(in Turbo C)
Program 13: Write a program in C, which can take an integer number 'num' whose value is 300 and then find the value of (num * num ) / num.
Program taking integer from the user & calculating (num*num)/num
Program 14: Write a program in C, which can take an integer number greater than 127 and then print it into character form using %c program taking integer >127 and print equivalent character
Program 15: Write a program in C, which can take radius of a circle and then calculate the area of the circle. Using the same radius also calculate the volume of sphere [ take PI = 3.14].
Program takes radius as input & calculates the area.
Program 16: Write a program in ‘C’, which can take an integer number num from the user and calculate maths functions i.e. sin(num), cos(num) and log(num). Program takes an integer number as input and calculate sin(num),cos(num), log(num)
Program 17: Convert Paisa values (input) into rupees
Program 18: Print Sum of series (say. first 8 terms)