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

Static block in Java

A static block in a program is a block which is associated with a static keyword. The static block executes when the classloader loads the class. A static block is invoked before the main() method in java. Syntax: ………static { …

Read moreStatic block in Java

Categories Java Tutorial

Mystery Number in C#

In this tutorial, we will write a c# program to check if a number is a Mystery Number. Before that, we may go through the following topic in c#. methods in c# A mystery number is a number that can …

Read moreMystery Number in C#

Categories CSharp Programs

Mystery Number in C++

In this tutorial, we will write a C++ program to check if a number is a Mystery Number. Before that, we may go through the following topic in C++. methods in C++ A mystery number is a number that can …

Read moreMystery Number in C++

Categories CPlusPlus Programs

Mystery Number in Java

In this tutorial, we will write a Java program to check if a number is a Mystery Number. Before that, we may go through the following topic in java. methods in Java A mystery number is a number that can …

Read moreMystery Number in Java

Categories Java Programs

Java Program to Find Smallest of Three Numbers Using Ternary Operator

In this tutorial, we will write a program in java to find minimum of three numbers using conditional operator. Before that, you may go through the following topics in java. Ternary Operator in Java Smallest of three numbers using ternary …

Read moreJava Program to Find Smallest of Three Numbers Using Ternary Operator

Categories Java Programs

Sum of rows and columns in 2d Array in Java

In this tutorial, we will write two different programs to sum the row elements and column elements separately. You may go through the following topic. Java – Arrays Sum of the columns in Java Output: sum of 1 col: 12sum …

Read moreSum of rows and columns in 2d Array in Java

Categories Java Programs

Find a pair with the Given Sum in an Array in Java

In this tutorial, we will write a java program to find the sum pair in an array. Before that, you may go through the following topics in java. for loop if statement The program takes a user input for a …

Read moreFind a pair with the Given Sum in an Array in Java

Categories Java Programs

C++ Program to display Pascal Triangle

In this tutorial, we will write a C++ program to display pascal’s triangle. Before that, you may go through the following topic in C++. for loop in C++ C++ Program to display Pascal Triangle C++ program to print pascal’s triangle: …

Read moreC++ Program to display Pascal Triangle

Categories CPlusPlus Programs

C++ Program to Calculate Sum of Geometric Progression

In this tutorial, we will learn and write a program to find the sum of GP series in C++. Before that, you may go through the following topics in C++ programming: C++ loops The program takes the first term, the …

Read moreC++ Program to Calculate Sum of Geometric Progression

Categories CPlusPlus Programs

C++ Program to find the Transpose of a Matrix

In this tutorial, we will learn and write a program to find the transpose of matric in C++. Before that, you may go through the following topics in C++ programming: C++ Arrays C++ loops The program takes the user input …

Read moreC++ Program to find the Transpose of a Matrix

Categories CPlusPlus Programs
Post navigation
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page75 Next →

More Topics

  • 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
  • Java Program to Find pair of Integers in Array whose sum is given Number
    25 July 2022
  • Program to Print Diamond Alphabet Patterns in C
    22 July 2022
  • Half Diamond Pattern in C using Alphabets
    22 July 2022
  • Half Pyramid of Alphabets in C
    20 July 2022
  • Inverted Half Pyramid Pattern of Alphabets in C
    19 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 © 2023 Simple2Code