#include <iostream>
int main() {
int a(5), b(7);
std::cout << "a = " << a << " b = " << b << std::endl;
if(a%2!=0&&b%2!=0) {
std::cout << "a^2 = " << a*a << " b^2 = " << b*b;
}
else
{
std::cout << "a + b = " << a+b;
#include <iostream>
int main() {
int a(5), b(7);
std::cout << "a = " << a << " b = " << b << std::endl;
if(a%2!=0&&b%2!=0) {
std::cout << "a^2 = " << a*a << " b^2 = " << b*b;
}
else
{
std::cout << "a + b = " << a+b;
}
}