| | |
Could you tell me how can I do this kind of question.
Thread Solved |
•
•
Join Date: Feb 2009
Posts: 111
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 6: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
Views: 640 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for Pascal and Delphi
animation api app array button compile console data database dbisam delete delphi delphihelpimageforloop documentcomplete2 edit environment error errors events file form function gdi gis lasrautoinc media navigatecomplete2 network object open opengl pascal passing path player procedure search set sql table twebbrowser username variable win7 windows






