Library Function
[SET – 1]


Write a program which input principal, rate and time from user and calculate compound interest. You can use library function.
CI = P(1+R/100)T - P solution


Write a program to compute area of triangle. Sides are input by user.
Area = sqrt(s*(s-a)*(s-b)*(s-c))
where s=(a+b+c)/2. solution


Write a program to check character entered is alphabet, digit or special character using library functions. solution


Write a program which display a number between 10 to 100 randomly. solution


Write a program which accept a letter and display it in uppercase letter. solution


Write a C++ program to implement the Number Guessing Game. In this game the computer chooses a random number between 1 and 100, and the player tries to guess the number in as few attempts as possible. Each time the player enters a guess, the computer tells him whether the guess is too high, too low, or right. Once the player guesses the number, the game is over. solution