1.
Q1: What is the value of
rho
after executing the following code?if (theta > omega)
rho = kappa + 2;
int alpha = 2, beta = 1, delta = 3, eta = 0, gamma = 0;
double omega = 2.5, theta = -1.3, kappa = 3.0, lambda = 0.0, rho = 0.0;
rho
after executing the following code?if (theta > omega)
rho = kappa + 2;
eta
after executing the following code?if (beta<alpha)
eta = 42;
eta
is and the value in variable beta
is .if (kappa<delta)
eta = 42;
beta = 22;
eta
is and the value in variable beta
is .if (gamma<kappa)
{
beta = 22;
}
eta = 42;