You have to pick something you'll enjoy (or want --it's the same) to do. Only you know what it is.
Examples:
(1) if you're using SMS, you could write a program that converts "I hate you" to "I h8 u", etc.
(2) if you tend to wake up at night and you always wish you knew the time (without turning on the light) you can write a "talking clock": find voice recordings for the numbers (or make them yourself) and play them in sequence. For example, if it's 3:45, it will play three.mp3, forty.mp3, five.mp3.
(3) if you study a second language at school, write a program to help you memorize vocabularies. If you study electronics, write a program that converts resistor colors to ohms.
(4) if you love math, pick problems to solve from http://projecteuler.net/index.php?section=problems (but some are taugh!)
(5) try to solve problems from "Perl Quiz" ( http://perl.plover.com/qotw/ ) or "Ruby Quiz" ( http://www.rubyquiz.com/ )
(6) write a program that generates random sentences. A sentence is SUBJECT + VERB + OBJECT. So setup arrays for the three, and pick from them randomly. Then enhance the program to generate more complicated (and more "real") sentences.
(7) you can also write your program as "CGI", which will make it work via a browser (but finding a hosting service that supports CGI isn't very easy: it's considered an outdated technology nowadays).
Examples:
(1) if you're using SMS, you could write a program that converts "I hate you" to "I h8 u", etc.
(2) if you tend to wake up at night and you always wish you knew the time (without turning on the light) you can write a "talking clock": find voice recordings for the numbers (or make them yourself) and play them in sequence. For example, if it's 3:45, it will play three.mp3, forty.mp3, five.mp3.
(3) if you study a second language at school, write a program to help you memorize vocabularies. If you study electronics, write a program that converts resistor colors to ohms.
(4) if you love math, pick problems to solve from http://projecteuler.net/index.php?section=problems (but some are taugh!)
(5) try to solve problems from "Perl Quiz" ( http://perl.plover.com/qotw/ ) or "Ruby Quiz" ( http://www.rubyquiz.com/ )
(6) write a program that generates random sentences. A sentence is SUBJECT + VERB + OBJECT. So setup arrays for the three, and pick from them randomly. Then enhance the program to generate more complicated (and more "real") sentences.
(7) you can also write your program as "CGI", which will make it work via a browser (but finding a hosting service that supports CGI isn't very easy: it's considered an outdated technology nowadays).