Differences

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

Link to this comparison view

cs-142:byu-health-insurance-with-booleans [2015/05/12 18:05]
cs142ta created
cs-142:byu-health-insurance-with-booleans [2015/05/12 19:17] (current)
cs142ta
Line 4: Line 4:
 == 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-with-booleans.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