This is the part 2 for my previous post Are You in a Hurry? Waking up after just a few hours of sleep and start preparing for the day can sometimes be physically exhausting. By the time I start my usual commuter’s ride9s), I can always appreciate some luxury like being able to sit on the bus, use the escalator or elevator when going up/down the train station and being able to sit on the train since it is about [...]
Archive for July, 2008
Here is another C program for displaying an empty diamond. This is another C program code for displaying a triangle. The user will input the base for the diamond (or triangle). The maximum input for this program is 40 although can easily be changed when implemented. #include #include int base, row, column, temp; main() { // Input Area – do-while is used to validate such that only inputs from 0 to 40 are accepted do { system(“cls”); printf(“Enter base : [...]
Here is a C program for printing a multiplication table based on a user input n. The resulting table will be n x n. The maximum input is limited to 15 in order for the results to readable. Higher input will scroll the results. #include #include int number, row, column, result; main(void) { /*Input Area – Input number must be from 0 to 15, else input loop will continue */ do { system(“cls”); printf(“Enter max value: “); scanf(“%d”, &number); result=number; [...]
This weekend, I really wanted to rest so I worked on our diagrams for Software Engineering even during lecture hours. I was able to finish one when an instructor did not show up. Unfortunately, the file got corrupted so I have to redraw everything again. I wanted to work last night but my eyes won’t open anymore. As if they have their own mind and went to sleep on their own. Then, I woke up with a terrible toothache. Worst, [...]
It’s been 2 months now since I started commuting by bus, by train and a jeepney from Monday to Friday. That is right. I have to do this everyday to attend classes everyday at UP-IITC. If lucky enough, a fourth ride will take me right at the door of the CSRC building. With the oil prices rising up practically every month, more and more people are commuting by train. The lineup at the train station is always long but some [...]






