JAAK - Fast and easy !

About Me

berry
View my complete profile

Friday, July 30, 2021

14 . Write a program to print numbers from 1 to 10.

 for (int i = 1; i <= 10; i++) {

                System.out.println(i);
        }
Posted by berry at 1:15 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Jaak

Jaak

About Me

berry
View my complete profile

Blog Archive

  • ▼  2021 (20)
    • ►  September (2)
    • ▼  July (18)
      • 14 . Write a program to print numbers from 1 to 10.
      • 13. Write a java program to replace spaces with un...
      • 12. Write a java program to convert String "BerRY"...
      • 11. Write a program to print a string entered by u...
      • 10. Write a program to check if the two numbers 23...
      • 9. Write a program to add 8 to the number 2345 and...
      • 8. Write a program to calculate the perimeter of a...
      • 7. Length and breadth of a rectangle are 5 and 7 r...
      • 6. Write a program to assign a value of 100.235 to...
      • 5. Print the ASCII value of the character 'h'.
      • 4. Write a program to print the product of the num...
      • 3. Write a program to print the area of a rectangl...
      • 2. Write a Java program to print an int, a double ...
      • 1 . Write a program to calculate percentage of a g...
      • 5 easy java exersizes with solutions.
      • How to make a rock , paper , scissors game in java...
      • 5 easy java exercises with solution.
      • 5 easy java exercises with solution.
Awesome Inc. theme. Powered by Blogger.