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...
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 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यहां हम एक साधारण सी प्रोग्राम लिख रहे हैं जो उपयोगकर्ता द्वारा प्रदान किए गए...
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...
Palindrome Program in Java in Hindi

Palindrome Program in Java in Hindi

जावा में पैलिंड्रोम संख्या: एक पैलिंड्रोम संख्या एक संख्या है जो रिवर्स के बाद समान होती है। उदाहरण के लिए 545, 151, 34543, 343,...
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...
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',...
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...
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...
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...