#include <.stdio.h >
#include <.math.h >
int main (void)
{
...int answer, i, number_of_days_left_to_exams, test_date, today_date;
...printf("Reasons why I never blog: \n");
...printf("1) I'm sianz\n");
...printf("2) I'm tired\n");
...printf("3) I've no time\n");
...printf("4) I've gotta study\n");
...printf("5) Exams are near! ARGH!
......(And my dear med frens are happily enjoying their hols o.O")\n");
...printf("6) More time siphoned away due to unknown reasons O.O\n");
...printf("Enter the code which suits you: ");
...scanf("%i", &answer);
...printf("Enter the Test Date followed by Today's Date (DD):");
...scanf("%i %i", &test_date, &today_date);
...switch (answer)
...case 1:
......printf("Good, 'cos I am also!\n");
......break;
...case 2:
......printf("Get more sleep\n");
......break;
...case 3: case 4: case 5 :
......printf("It's that time of the semester again...good luck!\n");
......break;
...case 6:
......number_of_days_left_to_exams = test_date - today_date;
......for (i=0; i<= number_of_days_left_to_exams; i++)
.........{ printf("STUDY!\n")
......}
......break;
...return 0;
}
I'm bored? o.O"
0 Responses to
Something to say?