1, 3, 5, 7, 9, 11, 13, 15 Programming Beginner To Advanced Odd series-1, 3, 5, 7, 9, 11, 13, 15 class series { public static void main(String args[]) { for(int i=1;i<=20;i=i+2) { System.out.print(i+","); } }} Share This: Facebook Twitter Google+ Stumble Digg Related Posts:4, 7, 12, 19, 28…. import java.util.*;class series{ public static void main(String args[]) { &nbs… Read More11, 13, 17, 19, 23, 25..... import java.util.*;class series{ public static void main(String args[]) { &nbs… Read MoreWrite a program in java to accept a number from user and check weather its Armstrong or not. An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an … Read MoreWrite a program in java to display natural numbers from 1 to 10. import java.util.*; class Natural_numbers{ public static void main(String args[]) { … Read MoreWrite a program in java to accept two numbers and check whether they are twin prime or not. Twin Primes A pair of prime numbers that differ by 2 (successive odd numbers that are both Prime numbers). Examples: (3,5), (5,7), (11… Read More