Stehpen Corya bd95d0bc69 first commit 5 месяцев назад
..
Makefile bd95d0bc69 first commit 5 месяцев назад
README bd95d0bc69 first commit 5 месяцев назад
answer01.c bd95d0bc69 first commit 5 месяцев назад
expected0 bd95d0bc69 first commit 5 месяцев назад
expected1 bd95d0bc69 first commit 5 месяцев назад
expected11 bd95d0bc69 first commit 5 месяцев назад
expected12 bd95d0bc69 first commit 5 месяцев назад
expected13 bd95d0bc69 first commit 5 месяцев назад
expected14 bd95d0bc69 first commit 5 месяцев назад
expected15 bd95d0bc69 first commit 5 месяцев назад
expected16 bd95d0bc69 first commit 5 месяцев назад
expected17 bd95d0bc69 first commit 5 месяцев назад
expected18 bd95d0bc69 first commit 5 месяцев назад
expected19 bd95d0bc69 first commit 5 месяцев назад
expected3 bd95d0bc69 first commit 5 месяцев назад
expected4 bd95d0bc69 first commit 5 месяцев назад
input14 bd95d0bc69 first commit 5 месяцев назад
input17 bd95d0bc69 first commit 5 месяцев назад
input18 bd95d0bc69 first commit 5 месяцев назад
input19 bd95d0bc69 first commit 5 месяцев назад
input2 bd95d0bc69 first commit 5 месяцев назад
input3 bd95d0bc69 first commit 5 месяцев назад
input4 bd95d0bc69 first commit 5 месяцев назад
input5 bd95d0bc69 first commit 5 месяцев назад
input6 bd95d0bc69 first commit 5 месяцев назад
input7 bd95d0bc69 first commit 5 месяцев назад

README

This assignment asks you to compute several properties of an array of
integers.

You should modify only the file answer01.c

You can add additional functions in answer01.c.

You can add new functions. This is true for all assignments.

Some parts of the program have already been written for you and you
should not modify those parts.

This assignment includes many pieces of useful information and you
will learn these pieces in the coming weeks. Do not worry if you do
not understand everything in the first week. Focus on writing the
functions in answer01.c. If you have taken the prerequisite CS 159, you
should have no problem filling the code for these functions.

If you need help, please visit the intructors' or the teaching
assistants' office hours.

=================================================================

This assignment asks you to
* add all elements in an array of integers
* determine whether any element in the array is a negative number
* determine whether the elements' values are increasing

This program has the following files
pa01.h a header file
pa01.c a C file for main
answer01.c a C file
inputgen.c a C file used to generate the test cases
Makefile

You need to worry about answer01.c only. You are certainly welcome to
read the other files. Do not worry if you do not understand the other
files yet.

To execute and to test your program, type

make

in Linux terminal.

You will receive the score of your program.

You can use

make -s

to print fewer messages.

If you have not changed the program since that last time you type
make and you type make again, you will get this message

make: `pa01' is up to date.

Please type

make clean

then

make

================================================================

After you finish this program, upload answer01.c to Blackboard and
submit it.