What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-01 04:40:02
Java program to find average of n numbers
// Java program to find average of n numbers import java.util.Scanner; public class FindAverageOfNNumbers { public static void main(String[] args) { int num, count = 1; float a, average, total = 0; Scanner sc = new Scanner(S... Add solution -
Python 2022-02-28 01:10:22
fibo with for loop python
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
Python 2022-02-27 15:55:01
how to return Fibbonaci(n) python
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
C++ 2022-02-24 22:15:12
count the occurrences ofanagram
//this solution is for when both the string have same type of character //example: aabaabaa and aaba #include <bits/stdc++.h> using namespace std; int main() { string s,ptr; cout<<"Enter the first string:"<<endl; ... Add solution -
C++ 2022-02-24 21:15:04
sliding window maximum sum subarray
#include <bits/stdc++.h> using namespace std; int main() { int n; cout<<"enter the size of the array:"<<endl; cin>>n; int arr[n]; cout<<"Enter the elements of the array:"<<endl;... Add solution -
Java 2022-02-24 09:50:04
java comparing-two-csv-files-in-java
import java.io.*; import java.util.ArrayList; /* file1 - file2 = file3*/ public class CompareCSV { public static void main(String args[]) throws FileNotFoundException, IOException { String path="D:\\csv\\"; String file1="file1.csv&... Add solution
Best helpers
Ranking is empty