
| Turbo C Sample Programs |
|
***FIND SOMETHING USEFUL ON MY WEBPAGE? PLEASE SIGN MY GUESTBOOK!*** 1. Age Calculator: Program asks for age and prints how many months, weeks, days, hours and minutes old you are. 2. Simple Calculator: Asks for number of kilos of rice to buy the prints the amount to pay. 3. Movie House Calculator: Asks which part of the movie house (De Luxe or Premiere) will you watch the movie and how many heads then computes the total amount to pay. 4. Salary Calculator: This program will ask for the number of hours you have worked and computes your salary including the overtime. Note: working hours over 45 is considered an overtime on this example. 5. Addition of Numbers using While loop: Program will keep on asking numbers until '5' is entered. It will then display the number of times a number was entered and display its sum. 6. Records using Arrays: Program will ask you information and will store it on an array. 7. Using strcmp or string compare: This program will ask for two words and check whether they are the same or not. 8. Word in Reverse Order: This program will ask for a word and then prints it backward character by character. 9. Password Checker: Asks for a password and checks if it's valid or not. Uses strings. ***FIND SOMETHING USEFUL ON MY WEBPAGE? PLEASE SIGN MY GUESTBOOK!*** 10. Using Do While: A cute program asking for your option and will terminate if 'E' or 'e' is pressed. 11. Run Name: A Program that will run my name across the screen. 12. ATM (Automated Teller Machine) Program. (version 2). hint: use 11111, 22222, 33333, 44444 or 55555 as your 5-digit pin. see
code | download
program (exe
file 36.7KB)>>> 15. Database Program 1: A cool graphical Turbo C program using structures. Programmed by a fellow student. 16. Cash Register Program. This was my finals project. Uses structures and arrays. 17. Database Program 2: Will ask for 9 records and prints all the record on the screen. 18. Database Program 3.
***FIND SOMETHING USEFUL ON MY WEBPAGE? PLEASE SIGN MY GUESTBOOK!*** |