Home Programming Practice

Programming Practice

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...
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...
C Program to calculate Area and Circumference of Circle

C Program to calculate Area and Circumference of Circle sirfpadhai

C Program to calculate Area and Circumference of Circle sirfpadhaiयहां हम एक साधारण सी प्रोग्राम लिख रहे हैं जो उपयोगकर्ता द्वारा प्रदान किए गए...
Fibonacci series program in java

Fibonacci series program in Java

What is the Fibonacci series?A Fibonacci series is a set of numbers where, starting with the third number, each number is the sum of...
program in C to check given no is leap year or not in Hindi

leap year condition in Hindi |Write a program in C to check given no...

इस पोस्ट में, आप सी में अलग-अलग तरीकों से सीखेंगे, कि यह जांचने के लिए कि कोई विशेष वर्ष लीप वर्ष है या नहीं।एक...
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',...
program to print hello world in c++

Program to print Hello World in C++|C++ Hello World Program

Program to print Hello World in C++While writing programs in C or C++, first use Header Files (Preprocessor). This has to be written because...
Palindrome Program in Java in Hindi

Palindrome Program in Java in Hindi

जावा में पैलिंड्रोम संख्या: एक पैलिंड्रोम संख्या एक संख्या है जो रिवर्स के बाद समान होती है। उदाहरण के लिए 545, 151, 34543, 343,...
Program to find greatest of two numbers in c in hindi

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

दी गई दो संख्याओं में से सबसे बड़ी संख्या ज्ञात करने के लिए 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...