gusun% a.out

** COSC 071 Breast Cancer Diagnostic Advisory System **

Loading Wisconsin database...

Enter case information for patient:

Enter seven-digit ID: 1234567
Enter clump thickness [1-10]: 6
Enter uniformity of cell size [1-10]: 4
Enter uniformity of cell shape [1-10]: 7
Enter marginal adhesion [1-10]: 8
Enter single epithelial cell size [1-10]: 3
Enter bare nuclei [1-10]: 2
Enter bland chromatin [1-10]: 6
Enter normal nucleoli [1-10]: 4
Enter mitoses [1-10]: 3
Enter diagnosis [benign/malignant/unknown]: unknown

Would you like to find the most similar patient's diagnosis (y/n)? y

Most similar patient:

ID: 1047630
Clump thickness: 7
Uniformity of cell size: 4
Uniformity of cell shape: 6
Marginal adhesion: 4
Single epithelial cell size: 6
Bare nuclei: 1
Bland chromatin: 4
Normal nucleoli: 3
Mitoses: 1
Diagnosis: malignant

Would you like to change the patient's diagnosis (y/n)? y

Enter new diagnosis [benign/malignant/unknown]: malignant

Would you like to add this patient to the database (y/n)? y

Would you like to enter information for another patient (y/n)? n

Saving database...
gusun%