This document contains a worksheet for a CSCE 155 lab on enumeration and functions in C. It lists 3 activities for students to demonstrate to an instructor: 1) a program that returns the costs of different flower arrangements, 2) modifying that program to include a function, and 3) the results of refactoring the program and adding more flower types. Students must get the instructor's signature after demonstrating each activity.
This document contains a worksheet for a CSCE 155 lab on enumeration and functions in C. It lists 3 activities for students to demonstrate to an instructor: 1) a program that returns the costs of different flower arrangements, 2) modifying that program to include a function, and 3) the results of refactoring the program and adding more flower types. Students must get the instructor's signature after demonstrating each activity.
This document contains a worksheet for a CSCE 155 lab on enumeration and functions in C. It lists 3 activities for students to demonstrate to an instructor: 1) a program that returns the costs of different flower arrangements, 2) modifying that program to include a function, and 3) the results of refactoring the program and adding more flower types. Students must get the instructor's signature after demonstrating each activity.
1. Demonstrate
your
working
program
from
activity
1
to
an
instructor
by
answering
the
following
questions:
a. How
much
does
a
bouquet
of
red
roses
cost?
b. How
much
does
a
vase
of
white
daisies
cost?
2. Demonstrate
your
working
program
from
activity
2
to
an
instructor.
a. Demonstrate
that
your
program
still
returns
the
correct
value
for
an
order
of
a
bouquet
of
red
roses
b. Demonstrate
your
program
by
ordering
a
vase
of
white
roses
3. Demonstrate
the
result
of
activities
3
and
4
to
a
lab
instructor.