Library Function
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 |
2
|
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 |
3
|
Write a program to check character entered is alphabet, digit or special character using library functions. solution
|
4
|
Write a program which display a number between 10 to 100 randomly.solution
|
5
|
Write a program which accept a letter and display it in uppercase letter.solution
|
6
|
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
|
No comments:
Post a Comment