| | |
Could you tell me how can I do this kind of question.
Thread Solved |
•
•
Join Date: Feb 2009
Posts: 93
Reputation:
Solved Threads: 0
Dear ALL,
Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question?
Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question?
Pascal and Delphi Syntax (Toggle Plain Text)
Complete the table below to show what each variable holds, the user enters the numbers 5, 6, 7, 8, 9 evens:=0; for count:= 1 to 5 do begin writeln('Please enter a number'); readln(numbers[count]); if (numbers[count] mod 2 = 0) then begin evens := evens + 1; end end; writeln(evens);
0
#3 Oct 12th, 2009
The way I read this, is that you need to calculate the value of the variable (evens). Just follow the source code in your head, or on paper, and do as it instructs.
I don't see output in the code, so I'm not sure what they mean by that.
I don't see output in the code, so I'm not sure what they mean by that.
Last edited by pritaeas; Oct 12th, 2009 at 7:19 am.
"If it is NOT source, it is NOT software."
-- NASA
-- NASA
![]() |
Similar Threads
- Interview question in Linked list (C)
- A Good Question? (Advertising Sales Strategies)
- MIPS tutorials (Assembly)
- Valid W3C Code and Links in SEO (Search Engine Optimization)
- gcc (C)
- file size (C++)
- Algorithms checking (C)
- How do you install files in general on linux any operating system (*nix Software)
- This NOOB Needs Help (Networking Hardware Configuration)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: DBISAM Question
- Next Thread: Formatting ComboBoxes
| Thread Tools | Search this Thread |





