my code doesnt work pls fix URGENT

Go down

my code doesnt work pls fix URGENT

· #1

it doesnt work

pls fix

urgent, project due tomorrow

Re: my code doesnt work pls fix URGENT

· #2

Happy to help. What does the code look like, and what error do you get?

Re: my code doesnt work pls fix URGENT

· #3

the error is that it doesnt work

Re: my code doesnt work pls fix URGENT

· #4

Can you paste the code?

Re: my code doesnt work pls fix URGENT

· #5

i took a photo of my screen with my phone but the forum says the picture is too dark. the code is on the screen in the photo

Re: my code doesnt work pls fix URGENT

· #6

Rule 2. I wrote it this morning and it has already been broken.

Here is what a question looks like. Copy this, fill it in, post it:

text
What I am trying to do:
What I expected to happen:
What happened instead (the exact message):
The smallest program that shows it:

And the program goes in a code block, as text, like so:

pascal
program Broken;
begin
  WriteLn('Hello')
  WriteLn('World');
end.

Forum rules 1 to 10 apply. Yes, to you.

Re: my code doesnt work pls fix URGENT

· #7

wait thats my program

how did you get my program

Re: my code doesnt work pls fix URGENT

· #8

It is everyone's first program. Line 3 is missing a semicolon:

diff
 program Broken;
 begin
-  WriteLn('Hello')
+  WriteLn('Hello');
   WriteLn('World');
 end.

The compiler told you this. It said Fatal: Syntax error, ";" expected but "identifier WRITELN" found. That is the error message. It is not "it doesnt work".

Forum rules 1 to 10 apply. Yes, to you.

Re: my code doesnt work pls fix URGENT

· #9

IT WORKS

you are a wizard

Re: my code doesnt work pls fix URGENT

· #10

I can read. It looks similar from a distance.

Forum rules 1 to 10 apply. Yes, to you.

Go up

Sign in to reply