Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Submit the source code (your filename.c file) electronically and on paper as a hard copy. Include copy of the results as comment lines in the
Submit the source code (your filename.c file) electronically and on paper as a hard copy. Include copy of the results as comment lines in the completed program. All source code must be in a filename.c format. No other formats will be accepted. Phase I General Preprocessing items: Use mnemonic variables of 3 characters or more. Use void main (void) or void main in your program and leave off the return 0. Use double as the choice for all floating point values. Add heading items using as printf statement. Watch for instructions that specify a symbolic constant and assign that symbolic constant in all capital letters and using the #define. Thank you. The "xxxx" in a sample output will show locations that the computer program will transfer values. Phase II General procedures: A line of information in the program should be no longer than 80 characters. All user-defined function problems should include the student's last name as part of their function name. All user- defined function written for the class must have a prototype. Prototypes should be placed before the main. The user-defined functions will be located in the program after the main program. Note: Our class must have all of its results, variables, outputs stored in memory Problem page 38 from book. Tasks Send the Output from the Drogram to a data file or text file. our rules Use the book program, but make all variables 3 characters or more and use variables that make sense Use your last name as part of the array name. We will do that from this point on Use void main(void) for our programs and leave off the return(0) for our programs Use the type double for floating point numbers in our programs. Print program, print data file, upload program, and upload datafile Send the output from the program to a data file or text file. (Use the filename: lastname arraytext firstinitial.c) The rules for the use of an output file (data file or text file) The data file must have the student's lastname keyword included in the filename. The data file should have the extension txt The cprogram file must open the data with a statemer The cprogram file must close the datafile with a statement required: Electronic submission and paper copy of program code and Electronic submission and paper copy of text files
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started