answersLogoWhite

0


Best Answer

how to use even and odd number with for loop and if condition plz dont use "int"..

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use even and odd numbers for loop and if condition with variable please no use int?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What group has variable oxidation numbers?

Transition metals have variable oxidation numbers because they have incompletely filled d orbitals, allowing them to easily gain or lose electrons and exhibit a range of oxidation states. This property makes transition metals important in catalysis and a variety of chemical reactions.


Odd numbers and even numbers please?

Odd numbers 1 3 5 7 9 11 13 15............................Even numbers2 4 6 8 10 12 14 16...........................


How many pairs of even numbers can you find whose sum is eighteen?

There are two pairs of even numbers that satisfy the condition. They are (8, 10) and (6, 12).


Which is the sum of the positive even numbers even numbers less than 878?

The question appears to be garbled so that we cannot even begin to understand it. Please edit the question to include more context or relevant information.


What they use as substitutie to numbers?

There is insufficient information for us to even begin to understand this question. Please edit the question to include more context or relevant information. Who were they? And why would they want to substitutie, or even substitute to numbers? What does "substitute to numbers" mean?


How is the climate now?

Climates can be variable and depends on where you live. It is spring now, yet it is cold raining and even snowing in Europe. Please specify the country and region for a correct answer


What are multiples of 2 called?

Those are called "even numbers".Those are called "even numbers".Those are called "even numbers".Those are called "even numbers".


What is the condition in which a body moving with uniform speed has a variable velocity?

The condition in which a body moving with uniform speed has a variable velocity is when the direction of motion changes even though the speed remains constant. This means that the object is accelerating, even though its speed does not change.


Does an equation always have to have numbers?

Technically yes, because even if you say, x=y, there is a hidden "1" in front of each variable because there is only 1x and 1y.


What do you put in for the x value?

X is a variable which can be replaced with virtually anything ranging from -infinity to +infinity, imaginary numbers, other variables and even whole other functions.


Can you arrange the even numbers?

Well cant you arrange numbers any way you want? Least to greatest or whatever you please. There can be an arangement of random numbers chosen to be thrown ing a pattern that makes sence to no one.


What two odd numbers don't add up to an even number?

Unless this is a trick question, none of them do. Zero is an even number, so therefore no positive odd number and negative equivalent will add to form an odd number. Similarly, negative odd numbers will add to form negative even numbers, and positive odd numbers will add to equal positive even numbers. Somebody please inform me if I'm missing something simple here.