cout << “Enter the first value : “
cin >> no1;
cout << “Enter the second value : “
cin >> no2;
if (no1 < no2)
min = no1;
if (no2 <= no1)
min = no2;
cout << “The lowest value is “ << min << endl;
}
(a) What is the output if the value for no1 is 5 and no2 is 6? Provide the tracing table.
(5 marks)
(b) Edit the program to output the highest value.
1
Expert's answer
2019-05-01T09:27:00-0400
Dear Charlie, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment