Quoth Irving Patrick Freleigh
View Post
(OK, it's an ARP 2600, but still...)

char *p = input;
while(*p) {
if(*p >= 'a' && *p <= 'z')
*p = (((*p - 'a') + 3) % 26) + 'a';
if(*p >= 'A' && *p <= 'Z')
*p = (((*p - 'A') + 3) % 26) + 'A';
p++;
}



The thing is, the 2 "normal" courses were literally the same thing every day: Read a chapter from a book of essays at home, then come in the next class day and write a short essay on the general topic included in the assigned reading. If you did this every day, you passed, likely with an A. It was the dreaded "every English teacher has to teach this at some point" class. A the end of Class 2 (semester 2), you had to sit for a proper final and...Write a five paragraph essay. In other words, what you'd just been doing every class session for a full year. You don't want to know how many people failed the final, requiring them to repeat the course. The thing was, tho, if you could not pass this course, you would NOT have been able to hack anything else at this school. State school, but rather tough, nonetheless.



Comment