C# Chapter01A
C# Chapter01A
Introduction to
Computing and
Programming
Figure 1-5 Program specification sheet for a car rental agency problem
C# Programming: From Problem Analysis to Program Design 20
Analyze the Problem (continued)
• What kind of data will be available for input?
• What types of values (i.e., whole numbers,
alphabetic characters, and numbers with decimal
points) will be in each of the identified data items?
• What is the domain (range of the values) for each
input item?
• Will the user of the program be inputting values?
• If the problem solution is to be used with multiple
data sets, are there any data items that stay the
same, or remain constant, with each set?
C# Programming: From Problem Analysis to Program Design 21
Analyze the Problem (continued)
May help to see sample input for each data item
• Class diagram