Enter number of months in the financial period: 4
Enter the sales of month 1: ($)12000
Enter the sales of month 2: ($)0
Enter the sales of month 3: ($)6
Enter the sales of month 4: ($)0
Total sales: $12006.000000
Average monthly sales: $3001.500000
Maximum sales: $12000.000000
Minimum sales: $0.000000
Maximum sales rise: $6.000000
Minimum sales drop: $6.000000
That's what I got, when I ran your code. Are you supposed to get something else?