Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs-142:byu-health-insurance [2015/05/11 20:49]
cs142ta
cs-142:byu-health-insurance [2015/05/12 19:17] (current)
cs142ta
Line 7: Line 7:
 ==Solution== ==Solution==
 <code cpp> <code cpp>
 +/*
 +Test Case 1:
 +Input: single, 0 dependents
 +Output: 74
 +Actual: 74
 +
 +Test Case 2:
 +Input: single, 2 dependents
 +Output: 273.50
 +Actual: 273.50
 +
 +Test Case 3:
 +Input: married, 0 dependents
 +Output: 118.50
 +Actual: 118.50
 +
 +Test Case 4:
 +Input: married, 2 dependents
 +Output: 413.50
 +Actual: 413.50
 +*/
 +
 #include <​iostream>​ #include <​iostream>​
 #include <​string>​ #include <​string>​
cs-142/byu-health-insurance.txt ยท Last modified: 2015/05/12 19:17 by cs142ta
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0