Home Programming Practice

Programming Practice

Write a Python program to move all spaces to the front of a given string in single traversal.

Python: Move all spaces to the front of a given string in single traversal

Write a Python program to move all spaces to the front of a given string in single traversal.Let's see some sample test cases before...
Program to assign values of two numbers and print their addition

Program to assign values of two numbers and print their addition.

In this program we will learn how we can add two digits using C programming, for this we will first get the user to...
Palindrome Program in Java in Hindi

Palindrome Program in Java in Hindi

जावा में पैलिंड्रोम संख्या: एक पैलिंड्रोम संख्या एक संख्या है जो रिवर्स के बाद समान होती है। उदाहरण के लिए 545, 151, 34543, 343,...
Print the square and cube symbol in the area of a rectangle and volume of a cylinder

Python: Print the square and cube symbol in the area of a rectangle and...

Write a python program to print the square and cube symbol in the area of a rectangle and volume of a cylinder.Python Code:-area =...
C++ प्रोग्राम दो नंबर स्वैप केसे करे

C++ प्रोग्राम दो नंबर स्वैप केसे करे | C++ Program to Swap Two Numbers...

C++ प्रोग्राम दो नंबर स्वैप केसे करेदो नंबरों को स्वैप करने के लिए प्रोग्राम बनाने के दो तरीके हैं। एक में एक अस्थायी चर...
c program to print hello world

How to print Hello World in c languages|C program to print Hello world

How to print Hello World in c languages"Hello, World!" program. It's the first program many of us learn when we start programming. for...
Area of Triangle C++ Program in Hindi

Program to Accept value of base & height and Calculate Area of Triangle c++...

Area of Triangle C++ Program in Hindiसमस्या को समझना:-हमें एक ऐसा प्रोग्राम लिखना होता है जो यूजर से त्रिभुज की तीन भुजाओं को...
reverse string python

Reverse string in python | Syntax for reverse() List Method in Python.

Python - reversereverse() method is used to reverse the given list.Flowchart:-Syntax for reverse() List Method in Pythonlist.reverse()Parameter : There is no parameter for reverse()...
operator overloading in c++ full details

operator overloading in c++ example in hindi | operator overloading in c++ full details.

Operator overloading in C++ऑपरेटर ओवरलोडिंग एक संकलन-समय बहुरूपता है जिसमें उपयोगकर्ता द्वारा परिभाषित डेटा प्रकार को विशेष अर्थ प्रदान करने के लिए ऑपरेटर को...
Prime Number Program in Java

Prime Number Program in Java | Write a program to print Prime Number Program...

write a program to print Prime Number Program in Java.import java.util.Scanner;public class Prime { public static void main(String args) { int num,i,count=0; System.out.println("Enter a number: "); Scanner enter = new...