MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a Java-program to display 1 to 10 values using do while loop ?

  1. Home
  2. Java Programs

Write a Java-program to display 1 to 10 values using do while loop ?

Write a Java-program to display 1 to 10 values using do while loop ?

Program
public class Main
{
    public static void main(String args[])
    {
        int x=1;
        do
        {
            System.out.println(x);
            x++; 
        }while(x<=10);
    }
}	

Output:

1
2
3
4
5
6
7
8
9
10





More Questions


74 . Write a Java-program to display 1 to 10 values using do while loop ?
75 . Write a Java-program to display 10 to 1 values using do while loop
76 . Write a Java-program to display 1 to n values using do while loop
77 . Write a Java-program to display display Even Numbers using do while loop
78 . Write a Java-program to display Even Number or Odd Number based on the N value using do while loop
79 . Write a Java-program to display Even Number or Odd Number based on the N value using single do while loop
80 . Write a Java-program count the number of divisible numbers in a given range(1-100) using do while loop ?
81 . Write a Java-program to print Factorial Number using do while loop ?
82 . Write a Java-program to print Factorial of upto N Numbers using do while loop ?
83 . Write a Java-program to print sum of natural numbers using do while loop ?
84 . Write a Java-program to print sum of Even numbers using do while loop ?


Interview Questions

Java Interview Questions

Python Interview Questions

Oracle Interview Questions

100 Most Asked Java Interview Questions and Answers

HR Interview Questions and Answers

Top 50 OOPS Interview Questions & Answers

Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a Java program that takes two numbers and display the product of two numbers

Write a java program to find the index of the largest number in an array

Write a Java program to swap the first and last elements of an array and create a new array

Write a java program to Find the index of the smallest number in an array

Write a java Program to check given matrix is null matrix

Python Practice Programs

Write a python program to access news using python

Write a program to check armstrong numbers in certain interval

Write a Python program that checks whether a specified value is contained within a group of values.

Write a Python Program To Find ASCII value of a character.

Write a Python Program to Print all Prime Numbers in an Interval of 1-10.

Interview Questions

Java Interview Questions

Python Interview Questions

Oracle Interview Questions

100 Most Asked Java Interview Questions and Answers

HR Interview Questions and Answers

Top 50 OOPS Interview Questions & Answers

Java Quiz

Java Quiz - 5

Java Quiz - 19

Java Quiz - 4

Java Quiz - 3

Java Quiz - 1

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs