This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Pre-Condition: Enter any real number 'x'. | |
double sqrt(double x) | |
//Post-Condition: The function will return 'x' sqaured. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include iostream | |
using namespace std; | |
int main{ | |
int dateCheck(int year, int month, int day){ | |
assert(0 < month ≤ 12) | |
} | |
} |
NewerOlder