What is the value of variable count at the end of execution?
int count=0;
for (int i=1; i<=5; i++) {
for (int j=1; j<=5; j+=i) {
for (int k=1; k<=5; k+=j) {
count++;
}
}
}
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Correct Answer: 39
Click here to access NPTEL An Introduction To Programming Through C++ Assignment 3 Answers