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.

pls urgent help

revlisrevlis Posts: 12Member
pls someone help me with this assignment,
a program in pascal that will print prime numbers between
1 and 100.
pls somone help fast
breaktrough

Comments

  • Phat NatPhat Nat Posts: 757Member
    : pls someone help me with this assignment,
    : a program in pascal that will print prime numbers between
    : 1 and 100.
    : pls somone help fast
    : breaktrough

    I won't write the whole thing for you, but this is a start:
    [code]
    Begin
    WriteLn('2');
    WriteLn('3');
    WriteLn('5');
    WriteLn('7');
    WriteLn('11');
    WriteLn('13');
    {...}
    End.
    [/code]

    You could also use an equation to do this so that you don't need to figure them all out manually. If you want to try that method, give it a go and then post where you get stuck and we'll help.
Sign In or Register to comment.