java

How to reverse a string in Java

How to reverse a string in Java. We will learn two different ways. The first way will iterate through the characters and the second way will use StringBuffer.

Read
c#

Introduction to for loop in C#

C# for loop explanation with examples. for loop is used to execute a code block for a given number of times.

Read
python

Python program to search for a text in a file

Python program to search for specific text in a text file. It will read the text from the user and search for that text in a given file.

Read
c

C program to print a name multiple times without using loop or function

C program to print a name multiple times without using a loop or a function. We will use goto statement to print that.

Read
python

Python program to find the volume of a tetrahedron

Learn how to find the volume of a tetrahedron in Python using user inputs. Tetrahedron is a triangular pyramid and this program will show you how to find the volume in python.

Read
python

How to calculate gross pay for hourly paid employees in Python

Learn how to calculate gross pay for hourly paid employees in python. Hourly paid employees are paid hourly and payment is calculated based on the number of hours worked.

Read
python

Python program to check if a subarray is in an array

Python program to check if a subarray is in an array or not. One subarray and one array is given. Find out if the subarray is in that array or not.

Read
python

4 ways to reverse a string in python

4 different ways to reverse a string in python. using a for or while loop, recursively, by using the reversed method and by using slicing.

Read
python

How to take integer inputs until a valid response is found in python

In this post, we will learn how to get integer inputs continuously until a valid response is found in Python.

Read
dart

Dart program to get the first n elements from a list

How to get the first n elements from a list in dart. dart provides take method for that and this post will show you how to use it with example.

Read