C Programming

previous

ANSWERS TO CLASS EXERCISE C1


	#include <stdio.h>

	main()
	{
		printf("Programming in C is easy.\n");
		printf("And so is Pascal.\n");
	}


	Programming in C is easy.
	And so is Pascal.
	_



#include <stdio.h>
	main()
	{
		printf("The black dog was big. ");
		printf("The cow jumped over the moon.\n");
	}


	The black dog was big. The cow jumped over the moon.
	_



#include <stdio.h>

	main()
	{
		printf("Hello...\n..oh my\n...when do i stop?\n");
	}


	Hello...
	..oh my
	...when do i stop?
	_


 ©Copyright B Brown. 1984-1999. All rights reserved.

previous