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 Program to find the sum of the Largest Forward Diagonal

in this tutorial, we will write a java program to find the sum of the Largest Forward Diagonal in an Arraylist (matrix). Java Program to find the sum of the Largest Forward Diagonal Output: Explanation:It calculates the sum of each …

Read moreJava Program to find the sum of the Largest Forward Diagonal

Categories Java Programs

C Program to search an element in an array using Pointers

A separate function( search_function()) will be created where the array pointer will be declared and the searched element along with the size of an array will be passed. The function will return 1 if any element matches with the searched …

Read moreC Program to search an element in an array using Pointers

Categories C Programs Tags c array programs

C Program to find the sum of the digits of a number using recursion function

This C program calculates the sum of digits of a given number using recursion. Here’s a concise explanation: Output: Enter a number: 123 Sum of digits of a number: 6 Learn more on recursion.

Categories C Programs Tags c number programs, c special number programs

C program to find factorial of a number using Ternary operator with Recursion

Recursion refers to the function calling itself directly or in a cycle. Before we begin, you should have the knowledge of following in C Programming: This C program calculates the factorial of a given number using recursion and the ternary …

Read moreC program to find factorial of a number using Ternary operator with Recursion

Categories C Programs Tags c number programs

C Program to Add Two Numbers Using Call by Reference

The program takes the two numbers from the user and passes the reference to the function where the sum is calculated. You may go through the topic below. Output: Enter the first number: 15.5Enter the Second number: 20.5Sum of the …

Read moreC Program to Add Two Numbers Using Call by Reference

Categories C Programs Tags c number programs

Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python

In this tutorial, we will write a program to find a pairs of elements from an array such that for the input [a,b,c,d,e,f,g] we will get output as ab,cd,ef,g Javascript and Python program to concatenate the string element in an …

Read moreFind the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python

Categories javascript

String Pattern Programs in C

In this tutorial, we will write various C pattern programs for String. Before that, you may go through the following topics in C. for loop in C C Pyramid String Pattern: 1 Enter the string: SIMPLE2CODEEnter the no. of rows: …

Read moreString Pattern Programs in C

Categories C Programs

Java Program to Find pair of Integers in Array whose sum is given Number

In this tutorial, we will write a program to find a pair of elements from an array whose sum equals a given number in java. Before that, you may go through the following topic in java. for loop in java …

Read moreJava Program to Find pair of Integers in Array whose sum is given Number

Categories Java Programs

Program to Print Diamond Alphabet Patterns in C

In this tutorial, we will learn to write a C program to print Diamond patterns using alphabets/characters. However, in this tutorial, we will create a character pattern in C using for loop. So you may go through the following topic …

Read moreProgram to Print Diamond Alphabet Patterns in C

Categories C Programs

Half Diamond Pattern in C using Alphabets

In this tutorial, we will learn and code the half diamond alphabet patterns in C programming language. However, in this tutorial, we will create a character pattern in C using for loop. So you may go through the following topic …

Read moreHalf Diamond Pattern in C using Alphabets

Categories C Programs
Post navigation
Older posts
Page1 Page2 … Page76 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