answersLogoWhite

0


Best Answer

That depends.

This is an example

IF var=1 then begin

for var=1 to 5 do

writeln(var);

end {of then}

else writeln(var);

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use if and for in pascal together?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you use pressure and pascal in a sentence?

The pascal is a unit of pressure named after Blaise Pascal, the French mathematician and physicist.


What is Pascal use for?

Editing, compiling, linking, running and debugging Pascal programs.


Why did blaise pascal important contribution?

Blaise Pascal invented the Pascaline and Pascal's Triangle. Pascal's Triangle was a triangle, which started of with 1. The number underneath is worked out by adding the two numbers above it together. Using Pascal's Triangle, we can find many patterns, including Triangle Numbers.


What program would you use to create your card?

pascal


What is the best programming language to use for DVD cataloguing out of Pascal Fortran and LISP?

Pascal. Of the three, it is better suited to database programming.


What did blaise pascal pascal's law?

ask pascal for more details


What kind of written language did Delphi use?

Delphi used a programming language called Object Pascal for its written language. Object Pascal is an extension of the Pascal language that includes object-oriented programming features.


What are some pascal inventions?

Pascal Swirls Pascal invented the Pascal pressure scale


Is pascal a real language?

Pascal is a computer programming language, use for telling a computer what to do. It is not used for communication between people and in that sense is not a "real" language.


Why do we have to use uses crt or clrscr in pascal programming language?

No, you don't have to.


Which mathematician invented pathway question?

Blaise Pascal invented pathway questions.


How is blase pascal important to physics?

Pascal's work in Fluid Dynamics lead to the formulation of Pascal's Law. This a very important concept in the study of Fluid Dynamics (Hydraulics), and the design of devices that use Hydraulic Controls...such as Brakes in a automobile.