1.
Q1: What is the value of
rho
after executing the following code?if (theta > omega)
rho = kappa + 2;
int alpha = 2;
int beta = 1;
int delta = 3;
int eta = 0;
int gamma = 0;
double omega = 2.5;
double theta = -1.3;
double kappa = 3.0;
double lambda = 0.0;
double 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;