answersLogoWhite

0


Best Answer

if n MOD 2 == 0 THEN Write ("Even");

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you know if odd or even in turbo pascal program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How can you allow a user to save their settings in a program made with Turbo Pascal 7.0?

I'm afraid I don't know Pascal very well, but you should just need to look into what input/output libraries you have available and see what they offer you for disk writing.


How do I write a program that lets me convert text to Morse code on Turbo Pascal 7.0?

There may be a more efficient method (I know very little about Morse code) but since there are only 26 letters you could use a giant if-else if statement.


Why it is necessary to plan a computer program?

if we do-not plan a program then we are not able to know that what to do next


What is actual path of execution of a program?

how programs are executed? Let we take C, how a c program is executing.... A first step we have to install a particular software for a execution so here we are installing turbo c then open the bin folder after the installation ,you will find on executable file named TC.exe it will look like a command prompt that only executing your c program files and giving another executable file for your program as output. to check fisrt create any simple program and first compile it and see the bin folder you will find one file named filename.obj and then run that program and now you will find another file filename.exe,that is an output file.


How did someone invent the wheelbarrow?

Pascal, the famous French philosopher and mathematician is often given the credit for this invention. I do not know the details or if there are competing claims from other inventors.

Related questions

How can you allow a user to save their settings in a program made with Turbo Pascal 7.0?

I'm afraid I don't know Pascal very well, but you should just need to look into what input/output libraries you have available and see what they offer you for disk writing.


How do I write a program that lets me convert text to Morse code on Turbo Pascal 7.0?

There may be a more efficient method (I know very little about Morse code) but since there are only 26 letters you could use a giant if-else if statement.


How are even numbers arranged in pascal's triangle?

I really dont know what yu are talking about


Program codes in turbo c that will display border on the console screen using for loops?

There is not one that I know off but you could write it.


What year was Pascal born?

Blaise Pascal, the French mathematician, was born in Clermont-Ferrand, France on June 19, 1623. Some of his most well-know ideas are Pascal's triangle, Pascal's law, and Pascal's theorem.


What do the letters PASCAL stands for?

Nothing. The programming language Pascal was named for the 17th century mathematician Blaise Pascal. If you are referring to the database, I don't know.


How do you know if your car is turbo?

Look on the exhaust system for the turbo unit.


What did blaise pascal invent and what you know about their inventions?

Blaise Pascal (1623 - 1662) was a famous mathmetician and is credited with several inventions. Google "Blaise Pascal Inventions" and you will find your answer!


How do you know if your 1987 rx7 is turbo?

if you don't know this, you shouldn't drive an rx7...look at the engine...do you see a turbo???


How will you know if you have the turbo?

It is quiet obvious when you have a turbo because when you accelerate you hear a whistling sound. The turbo noise is unmistakable.


What were pascal contributions to world?

i really dont know


How old was pascal when he died?

Blaise Pascal lived from 1623 to 1662. From that we know he was about 39 when he died. Don't know the months he was born and died, so that is our best guess.