#Program.
24 posts filed under this topic.
How to Find ASCII Value of a Character in Java: 4 Easy Methods
Master finding ASCII values in Java! Explore 4 different methods including type-casting, brute force, and byte arrays with clear, practical code examples.
Identify whether the number is Even or Odd in Python
Identify whether the number is Even or Odd in Python
Factorial of a Number Using For Loop in Java: Code & Algorithm
Find the factorial of any integer in Java using a for loop. Explore the step-by-step logic, code implementation, and why we initialize the result variable to 1.
Factorial of a Number Using While Loop in Java: Guide & Code
Learn how to calculate the factorial of a number in Java using a while loop. This guide includes a step-by-step algorithm, code examples, and output analysis.
A Program to display sum of 1 to 10 numbers using for loop in JAVA
A Program to display sum of 1 to 10 numbers using for loop in JAVA.
A Program to display sum of 1 to 10 numbers using while loop in JAVA
A Program to display sum of 1 to 10 numbers using while loop in JAVA.
Identify whether the number is Even or Odd in C-language
Learn how to check if a number is even or odd in C using the modulo operator. Includes a flowchart, logic explanation, and complete source code.
How to Display Multiplication Tables in Python
Learn to generate multiplication tables in Python using for loops and the range() function. A perfect exercise for beginners to master iterative logic.
How to Generate Random Numbers in Python: A Quick Guide
Learn how to generate random integers and floats in Python using the random library. Master randint() and random() functions with simple code examples.
How to Check if a Variable is an Integer in Python
Learn how to check if a variable is an integer in Python using the type() and isinstance() functions. Essential for data validation and type-safe coding.
Swapping Variable Values in Python
Discover multiple ways to swap the values of two variables in Python, including the elegant tuple unpacking method and the traditional third-variable approach.
How to Find String Length in Python Using len()
Learn how to find the length of any string in Python using the built-in len() function. Understand how it counts characters, spaces, and special symbols.
Pattern programs in Java
In this article we will see different patterns that can be printed using loops in JAVA.
Program to Print Hello, World! in Python
Program to Print Hello, World! in Python
Program to mixup characters of 2 strings in JAVA
Program to mixup characters of 2 strings in JAVA
Identify whether the number is Even or Odd in JAVA
Identify whether the number is Even or Odd in JAVA
Program for Collatz Conjecture in JavaScript
The Collatz Conjecture also known as 3n + 1 conjecture is an eventually one of the unsolved problem in mathematics
JavaScript - String split() function
A tutorial showing the usage of split() function in JavaScript
Print Upside Down Triangle Pattern in C
Master C pattern programming with this tutorial on printing an upside-down triangle. Includes fuzzy logic and nested loop implementations for developers.
Sum of Series Between Two Numbers Using For Loop in C
Learn how to calculate the sum of a series between two integers in C using a for loop. Detailed tutorial with logic explanation and working code.
Calculate Factorial in C Using a For Loop
Learn how to calculate the factorial of an integer in C using a for loop. Includes a step-by-step algorithm and complete working code examples.
How to find the length of a string using strlen() in C
C program to find length of a string, for e.g, length of "East or West INDIA is best" is 26 (including space and excluding null character).
Write a Program to print Hello, World! in JAVA
A program to print "Hello World!" in JAVA.
Write a Program to print Hello, World! in C
Learn how to write and run your first 'Hello, World!' program in the C programming language. A perfect starting point for beginners in software development.