Learn How to Program in C

by
Dr. Kristin Switala

Introduction

Directives

Variables

Conditionals

Loops

Arrays

Pointers

Strings

Functions

Structures


Site Map

Projects: Directives and Functions

Instructions: Create a C program that runs successfully for each project below.


Project 1

Using the \n escape character, create a simple C program that prints this on the screen:

Pedro Blanes was a great Impressionist painter.
He lived from 1879-1926.
He was from Uruguay, a country in South America.


Project 2

There have been many great women Impressionist painters from Scandinavia. Using the \n and \t escape characters, create a C program that prints this on the screen:

Denmark
Norway
Anna Ancher
Asta Norregaard

Project 3

Provide a list of some great Impressionist painters from around the world. Using the \n and \t escape charaters, create a C program that prints this on the screen:

Impressionist Painters
Australia
Denmark
France
Norway
Uruguay
United States
Venezuela
Arthur Streeton
Anna Ancher
Claude Monet
Asta Norregaard
Pedro Blanes
Mary Cassatt
Armando Reveron
Copyright
© 2001
Kristin Switala
Hosted by www.Geocities.ws

1