

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Introduction to Computer Programming; Subject: Computational Science; University: Syracuse University; Term: Fall 2007;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Homework Assignment 1 Due Wednesday, September 19, 2007, at midnight. Revised September 13 – only one program to analyze and write.
While you may discuss this assignment with others, all work you submit must be your own. That means, after discussing it, you must go back and write it up yourself.
Here are the steps of the Software Development Process as discussed in lab:
Software Development Process:
Part I:
Part II:
Follow the above steps to write C programs for two problems:
Program 1: Write a program that can convert a measurement expressed in centimeters to one that gives the measurement in feet and inches. (You may want to know this formula for converting centimeters to inches: inches = 0.39 * cms.)
Program 2: This program is removed from the homework assignment. Only hand in the analysis, program and output from Program 1.
What to hand in:
Each program must have: a) One txt, rtf or word document with all of Part I of the development process. b) The .c file with the C program (do not hand in the project or solution files). c) One text file, with sample runs that you copied and pasted from the Console window. These should include the test runs described in part 3.
All of these should be zipped together and submitted as ONE zip file, called hw1.zip. Check the assignment page for instructions to zip files. Submit the zipped file through blackboard.