EE 2372 Software Design I Assignment #1: Temperature Converter

$30.00 $15.00

Download Details:

  • Name: Assignment1-f73div.zip
  • Type: zip
  • Size: 59.01 KB

Category:

Description

5/5 - (1 vote)

Objectives:
1) To write your first official C program.
2) To declare variables in C.
3) To use C for basic arithmetic (e.g., multiplication).
4) To use the printf() and scanf() functions for basic I/O using the standard input
and output devices.
Tasks:
1) Write a program that converts a temperature in Fahrenheit to a temperature in
Celsius. The program must support real numbers. Make sure to add good
comments to your source code.
2) Your program should adhere to the following specification:
Output: “Please enter the degrees Fahrenheit to convert to Celsius: “
then read a real number as input, make the conversion, and output the answer in
the following format on a separate line: “xx degrees Fahrenheit is equivalent to yy
degrees Celsius”
Deliverables:
1) Submit the C source code as an attachment to our TA Fernando Cervantes:
fcervantes@miners.utep.edu. Name your program firstinitiallastname_temp.c.
Thus, if President Barak Obama were taking this class he would name his file
“bobama_temp.c”.
2) The subject line must be “EE 2372 Assignment 1” (don’t include the quotes).
This is very important in order to be able to sort the different assignments that we
be submitted throughout the semester.
Scoring:
Your grade for this assignment will be determined by three criteria. The first criterion
determines if your program compiles and runs producing the correct result. The correct
result must adhere to what is specified in the Tasks section. The second criterion is
whether the program follows the interface specification outlined in the Tasks section.
The third criterion determines if your source code is well documented. Your source code
must include (at the top) your name, class (EE 2372, Fall 2015), and a small description
of your program. For this assignment, each line of code should have a descriptive
comment (there will be less commenting on future assignments).
Operation/Successful Demonstration 60%
Was a C source file submitted? 10%
Does the program compile? 15%
Does the program run correctly? 35%
Adherence to Interface Specification 30%
Does the program adhere to the interface specification
in the tasks section? 30%
Comments 10%
Is the source code well-documented? 10%
Lateness 10% per day (including
weekends and holidays)