Desk checking confusion!

Everything in this assignment is to be submitted online. According to http://www.ehow.com/facts_5941523_desk-checking_.html, desk checking is a table that includes identifying variables, true/fase, input/output and code lines but my question asks:
Write a C++ program that reads from keyboard 3 integers, with proper input prompt, and then displays the maximum sum of any pair of numbers from these three. If the 3 numbers are 5, 6 and 7 for instance, then the maximum sum comes from 6+7=13. Draw the flowchart of this C++ program, and also desk check the program for the three input integers 12, 3 and 7, or a different set of 3 numbers which will make the desk checking less trivial within your program design.

I've done the coding using dev but i dont understand whether they want me to do a desk check in a table but it doesnt make sence when the question states "desk check the program for the three input integers 12, 3 and 7, or a different set of 3 numbers which will make the desk checking less trivial within your program design.
do they want me to just go over my program and check if its words with diffrent numbers or do how ehow recomends a desk check is drawn? imo, they just want us to check it to see if the code is correct now physically draw 1?
there are already about 3 deskcheck threads on cplusplus.com with solved solutions.
@sasanet. thanks mate. already checked them many times before. I understand what it is and what they do but i dont understand what i have to do in my situation whether the desk check has to be displayed physically or just done by me before i submit to ensure the program works!
deskcheck in youre case shall output detailed table which will show what is program doing in background on each line, what numbers are sumed etc.
for example:
1
2
cout << "number 1: + number 2 " << num1 << "+" << num2 << "=" << result << endl;
cout << "moving on next line..."

you may also use average of numbers, total sum, counting etc.

you may want to do some function which will do deskcheck for you and put it to the end of program.
function may also ask the user : cout << "would you like to do deskCheck [y/n] ";
cin >>
with the code u linked, would that be an example that id put in the table or no? id do a table as they showed on ehow? argh, hate c++
your ehow link is dead...

read this:
http://www.ehow.com/how_2266754_hand-trace-through-software-code.html

sorry but I'm not allowed to give u complete solution :/
Last edited on
im not asking for soloutions at all? my question is do i have to use a table or see if the three numbers 12, 3 and 7 that arent part of the code to check if they work with the code. didnt ask for soloutions at all?
I believe they are asking your to desk check it with the input being a set of 3 integers that make the program as complicated as possible; i.e. so you have to go through as many if statements as possible.

Other then that, it's just a normal desk check.
@firedraco
cheers, that what i think they mean to. They just want to see if our program still works with diffrent numbers i believe and not physically hand in a desk check
Topic archived. No new replies allowed.