Learn How to Program in C

by
Dr. Kristin Switala

Introduction

Directives

Variables

Conditionals

Loops

Arrays

Pointers

Strings

Functions

Structures


Site Map

Projects: Variables (d)

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


Project 1

There have been many great explorers of the North Pole. Create a program using string variables for these three explorers:

  • Louise Boyd
  • Roald Amundsen
  • Umberto Nobile

Use these strings to print this on the screen:

In 1928 Louise Boyd led an expedition to find Roald Amundsen, who had been sent to rescue Umberto Nobile. Only Louise Boyd lived to tell of her adventures.


Project 2

Louise Boyd became famous for her explorations of three areas:

  • De Geer Glacier
  • Louise Boyd Land
  • Greenland

Use these strings to print this on the screen:

Louise Boyd explored De Geer Glacier, Greenland, and a stretch of land which became known as Louise Boyd Land.

Copyright
© 2001
Kristin Switala
Hosted by www.Geocities.ws

1