i like this website its really helping us as jonour programers who'll one day become senior progamers!
i thank you!!!
public static void main(String args)
a = Integer.parseInt(args.substring(args.length()-1,args.length()));
for(int i=0;i<9; i=i+2)
what is the validation to this program.
thanks for the codes ive learned much from it.....
Specify number of input: 5
Enter 5 numbers
Numbers of odd numbers : 2
Numbers of even numbers : 3
can you make a program for this
what is the purpose of try and catch command in this prgr
thanx for example
Most even/odd number checkers do it like this:
if (number%2==0 then system.out.println('EVEN');
Although this is absolutely correct, we need to remember that computer can only add number, so the larger the given number is, the longer it is for the computer to come up with the answer assuming that %2 actually divides the number multiple times by 2).
So, my question is how to make even/odd determination as fast as possible?
this soource code program was i think wrongly simplyfied............
Post your Comment