if (condition) {
// body of if statement
}
#include <iostream>
int main()
{
bool bDidLaundry = false;
std::string sDidLaundry = bDidLaundry ? "1" : "0";
std::cout << "b - " << bDidLaundry << " s - " << sDidLaundry << "
";
system("PAUSE");
return 0;
}