answersLogoWhite

0


Best Answer

int n = 2 // start at 0 if you really want to

while n < some arbitrary limit

n = n + 2

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Algorithm for multiples of2
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the name of OF2?

What is the name of OF2? The correct answer is oxygen difluoride.


Is OF2 molecular or ionic?

OF2 is a molecular compound. Oxygen difluoride (OF2) consists of covalent bonds between oxygen and fluorine atoms, with a molecular structure that does not involve the transfer of electrons between elements typical of ionic compounds.


What is the chemical name OF2?

OF2 is oxygen difluoride, a very powerful oxidizer.


How do you write a program to print the first n multiples of 7?

Algorithm: multiples input: two positive integers, m and n output: print first n multiples of m i = m; for j = 1 to n print i i = i + m; next j


What is the oxidation number of oxygen in OF2?

The oxidation number of oxygen in OF2 is -1.


What is the formula for fluorine oxide?

The chemical formula for fluorine oxide is OF2.


Is OF2 hydrogen bonding?

No, OF2 does not exhibit hydrogen bonding. Hydrogen bonding requires a hydrogen atom bonded directly to a highly electronegative atom like fluorine, oxygen, or nitrogen, which is not present in OF2. Instead, OF2 molecules interact through weaker dispersion forces.


What molecules or ions has a bent shapepcl5 ph3 of2 clo4?

PCL5: Trigonal bipyramidal shape PH3: Trigonal pyramidal shape OF2: Bent shape ClO4-: Tetrahedral shape


What is the chemical formula for fluorine oxide?

The chemical formula for fluorine oxide is OF2.


What is the formula for pentaoxygen difluorine?

The formula for pentaoxygen difluoride is O5F2.


Formula for oxygen diflouride?

OF2


Does OF2 have a bent shape?

Yes