Learn How to Program in C

by
Dr. Kristin Switala

Introduction

Directives

Variables

Conditionals

Loops

Arrays

Pointers

Strings

Functions

Structures


Site Map

Projects: Loops (c)

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


Project 1

Ask the viewer for a number from 1-30. Display a chart with the numbers in one column and the ASCII characters in another column.


Project 2

Build a square box, using stars (*).


Project 3

Give the viewer 4 chances to answer this question: "At what temperature Celcius does water boil?" (The correct answer is 100.)

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

1