Write a program in java to print the Odd series Programming Beginner To Advanced class odd_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:Write a program in java to calculate and print the sum of odd numbers and sum of even numbers. import java.util.*; class sum_of_odd_even{ public static void main(String args[]) { … Read MoreWrite a program in java to find the sum of any ten natural numbers. Natural numbers : The whole numbers from 1 upwards: 1, 2, 3, and so on ... Or from 0 upwards in some fields of mathematics: 0, 1, 2, 3 and so on ... … Read MoreWrite a program in java to enter a number and check whether the number is twisted prime or not. … 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 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 More