Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Help me in one day please please please please....

freeman4freefreeman4free Posts: 2Member
The output should be 2012.
program;
var x,y:integer;
begin
x:=1;y:=2;
pro(x,y);
writeln(x,y);
end.

But something miss here.
Can you help me please and tell me what is missing here that output will be 2012.
Please help me..

Comments

  • ActorActor Posts: 438Member
    : The output should be 2012.
    [code]
    : program;
    : var x,y:integer;
    : begin
    : x:=1;y:=2;
    : pro(x,y);
    : writeln(x,y);
    : end.
    [/code]
    :
    : But something miss here.
    : Can you help me please and tell me what is missing here that output
    : will be 2012.
    : Please help me..
    :
    More information is needed.

    [b]pro[/b] is not defined in the program. What is it supposed to do?

    Is [b]1012[/b] one number or two? [b]writeln[/b] outputs two, both [b]x[/b] and [b]y[/b]. They will be on the same line with a space between.

Sign In or Register to comment.