Home Programming Practice

Programming Practice

simple interest program in c

simple interest program in c in hindi |Program to find the simple interest

simple interest program in c in hindiExplanationसाधारण ब्याज बैंकिंग और आर्थिक क्षेत्रों में ऋण पर ब्याज शुल्क की गणना के लिए उपयोग की जाने...
Program to find greatest of two numbers in c in hindi

Program to find greatest of two numbers in c in Hindi.

दी गई दो संख्याओं में से सबसे बड़ी संख्या ज्ञात करने के लिए C प्रोग्राम की चर्चा यहाँ की गई है। उपयोगकर्ता से दो...
reverse a string in java

reverse a string in Java |how to reverse a string in Java |simply reverse...

reverse a string in JavaHow to Reverse a String in Java or Reverse a String in Java How to Reverse a String. This is...
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...
Python Split a string on the last occurrence of the delimiter

Python: Split a string on the last occurrence of the delimiter| split string last...

Write a python program to split a string on the last occurrence of the delimiter.Program:-str1 = "s,i,r,f,p,a,d,h,a,i" print(str1.rsplit(',' , 1) print(str1.rsplit(',' , 2) print(str1.rsplit(',' , 5)Output:-'s,i,r,f,p,a,d,h,a','i' 's,i,r,f,p,a,d,h', 'a','i' 's,i,r,f,p',...
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...
Fibonacci series program in c

write a program to print the Fibonacci series in c. |Fibonacci series program in...

write a program to print the Fibonacci series in c.In this program, we will learn how to print the Fibonacci series between 1 to...
Palindrome Program in Java in Hindi

Palindrome Program in Java in Hindi

जावा में पैलिंड्रोम संख्या: एक पैलिंड्रोम संख्या एक संख्या है जो रिवर्स के बाद समान होती है। उदाहरण के लिए 545, 151, 34543, 343,...
move spaces to the front of a given string

Python: move spaces to the front of a given string

write a python program to move spaces to the front of a given string.Program:-def move_Spaces_front(str1): noSpaces_char = spaces_char = len(str1) - len(nospaces_char) result = ' '*spaces_char result...
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()...