المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Beginner java issue. Writing method to do something easy. Getting compile error. Help



Java Programming
08-20-2009, 05:07 PM
hey :)im learning methods and want i want to do is..-write a method that takes two integer parameters-prints out all the numbers between them (eg parameters 1 and 10, prints 1, 2, 3, 4, 5, .. 10)-then next to the number prints whether it is odd or eventhen, call this method in the main()