Thursday, February 12, 2009

Exercise 1

Output:



#include
#include

void main()
{
clrscr();
printf("\t\tH\ e\ L\ L\ o\ W\ O\ R\ L\ D!!\n\n");
printf("\n\n\n\t\tweLcomE to the FieLd of P\ R\ O\ G\ R\ A\ M\ M\ I\ N\ G!!\n\n\n\n\n");
printf("\t\t\t\tProgrammed by: Lady Mary-Anne P. Gorre ΓΌ");
getch();
}

Exercise 2

Output:




#include
#include

void main()
{

clrscr();

printf("\t\t\t\t>>My AutoBiography <<\n"); printf("\t\t\t\t I For onE\n\n"); printf("\nI'm Lady Mary-Anne P. Gorre. My friends used to call me langga, lady or paw, and also my family and relatives. But most of my friends in school used to call me\ngoregrind.\n\n I'm ingenuous girl, I play dota but not quite as often, I know where to place\nmyself--where should I belong and I am a choosy girl more often. "); printf("It's my\nobsession to eat every minute. Haha! (--,)\n\nI live in Davao literally, at Blk 22 Lot 15 Elenita Heights Subdivision."); printf("\n\n\n \t\t\t\t\t\t\tBetter know me! ;))"); getch(); }