Skip to content
Download Android App: Follow Us:
Simple2Code
  • Home
  • Java
    • Java Tutorial
    • Java Programs
    • Java Pattern Programs
  • C
    • C Tutorial
    • C Programs
  • C++
    • C++ Tutorial
    • C++ Programs
  • C#
    • C# Tutorial
    • C# Programs
  • Apps
  • Blog
  • About Us

Java Programs

java pattern program app

Java Program to Reverse the Number

The following Java Program uses the Multiplication and Modulus Operator to reverse the number entered by the User. Something like this, If the entered Number is 1234567, then the final result will display 7654321. If you do not know about …

Read moreJava Program to Reverse the Number

Categories Java Programs Tags java loop program, java number programs

Java Program to Swap Two Numbers using the Third variable

Here you will learn how Swap two numbers using the third Variable. The program declares a temp variable to temporarily store the value of one of the two values. If you want to know how to swap numbers without using …

Read moreJava Program to Swap Two Numbers using the Third variable

Categories Java Programs Tags java number programs

Java Exercise: How to Divide in Java

Division in Java: This article will show you the process to divide in Java with output. The division is one of the basic operations in java. Others include addition, subtraction, and multiplication. For dividing in java, a division operator (/)is …

Read moreJava Exercise: How to Divide in Java

Categories Java Programs Tags java number programs

Java Program to Swap Two Numbers Without using the Third Variable

This post covers the Java Program to swap two numbers without using the third variable. It is easy to swap two numbers using the third variable, we assigned one to a temporary(temp) variable and swap with others. Swap two numbers …

Read moreJava Program to Swap Two Numbers Without using the Third Variable

Categories Java Programs Tags java number programs

Java Program to Check Whether the Given Number Is Binary or Not

In this post, we will write a program on how to check whether given number is binary or not in java. Let start by knowing the Binary number and then see the example with an explanation. What is a Binary …

Read moreJava Program to Check Whether the Given Number Is Binary or Not

Categories Java Programs Tags java basic programs

Java Program for Happy Number

This is an explanation and example for Happy Number in Java. And Let’s begin with an explanation: Define Happy Number A number is said to be a happy number if it yields 1 after a few steps and each step …

Read moreJava Program for Happy Number

Categories Java Programs Tags java special program

Java Program to make a Calculator using a Switch Statement

This Java program simply creates an option to chose the Operators just like any calculator. A switch statement is used for creating an option in programming that will make case for a different option and operate according to the option …

Read moreJava Program to make a Calculator using a Switch Statement

Categories Java Programs Tags java basic programs

Java Program to Calculate the Simple Interest

Here, you will learn how to calculate the Simple Interest in Java using the Formula ((p * r * t) / 100)) where, p = Principal r = Rate of Interest t = Time Period The program takes the user …

Read moreJava Program to Calculate the Simple Interest

Categories Java Programs Tags java basic programs

Java Program to Calculate the Area of a Triangle

Here, you will learn how to calculate the Area of a Triangle using the Formula [(Base* Height)/2]. The program takes the user input for the Base and Height of a triangle, calculates the result, and displays the result on the …

Read moreJava Program to Calculate the Area of a Triangle

Categories Java Programs Tags java basic programs

Java Program to Calculate the Area of a Square

Here, you will learn how to calculate the Area of a Square using the Formula (Side* Side). The Program takes the user input for Side, calculates the result, and displays the result on the screen. If you do not know …

Read moreJava Program to Calculate the Area of a Square

Categories Java Programs Tags java basic programs
Older posts
Newer posts
← Previous Page1 … Page21 Page22 Page23 Next →

More Topics

  • Java Program to find the sum of the Largest Forward Diagonal
    28 April 2024
  • C Program to search an element in an array using Pointers
    7 January 2024
  • C Program to find the sum of the digits of a number using recursion function
    7 January 2024
  • C program to find factorial of a numberĀ using Ternary operator with Recursion
    6 January 2024
  • C Program to Add Two Numbers Using Call by Reference
    6 January 2024
  • Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python
    1 February 2023
  • String Pattern Programs in C
    29 July 2022

Categories

  • C Programs
  • C Tutorial
  • computer fundamentals
  • CPlusPlus Programs
  • CPlusPlus Tutorial
  • CSharp Programs
  • CSharp Tutorial
  • HTML
  • Java Programs
  • Java Tutorial
  • javascript
  • Uncategorised

Simple2Code

  • About Us
  • Privacy Policy
  • Disclaimer
  • Sitemap

Search

Follow Us:
Copyright © 2025 Simple2Code