|
CS 2073, Spring 2006 Program 1 Copy and Extend a C Program Week 1: Jan 18-20 Due (on time): 2006-01-27 23:59:59 Due (late): 2006-01-30 23:59:59 |
|
Program 1 must be emailed to:
nrwagner@cs.utsa.edu following directions for: running and submitting a C program, with deadlines:
|
|
|
| Angle of a triangle |
|---|
A = acos((b*b + c*c - a*a)/(2*b*c)) |
(You must also add a declaration for the variable A. Note that acos is the way C designates the "arc cosine" function.)
#define PI 3.141592653589793
and this will define PI as the desired constant.]
| Area of a triangle |
|---|
|
| Contents of email submission for Program 1: |
|---|
|
Last Name, First Name; Course Number; Program Number.
|