What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-17 03:00:05
nested for loops pyramid c++
//WAP to print triangle pattern... LOGIC int num{}, i{1}; cin >> num; while (i <= num) { for (int space = 1; space <= (num - i); space++) { // space cout << " "; } for (int value = 1; value <= (2 * i -... Add solution -
Java 2022-03-17 00:25:04
java how to print
//print and create new line after System.out.println("text"); System.out.println(String); //You can use any variable type, not just strings, although //they are the most common //Print without creating a new line System.out.print("text&quo... Add solution -
Python 2022-03-16 14:25:13
Write a program to take input Dividend and Divisor and print its Quotient and Reminder in python
# Write a program to take input Dividend and Divisor and print its Quotient and Reminder print("This is a simple calculator program which only divides.") did = int(input("Pls enter the value of your divided in numbers:")) dir = int(in... Add solution -
C++ 2022-03-15 06:55:06
segment tree complexity
// C++ program to show segment tree operations like construction, query // and update #include <bits/stdc++.h> using namespace std; // A utility function to get the middle index from corner indexes. int getMid(int s, int e) { return s + (e -s)... Add solution -
Java 2022-03-15 01:00:03
java find all of letter in string
String stringName = "Hello"; String characterToFind = "l"; //This example will find all the Ls in this string and will print the index of //it as soon as it is detected for(int i = 0; i < stringName.length(); i++){ if(stringName.... Add solution -
Java 2022-03-12 21:15:23
java indexof all occurrences
String stringName = "Hello"; String characterToFind = "l"; //This example will find all the Ls in this string and will print the index of //it as soon as it is detected for(int i = 0; i < stringName.length(); i++){ if(stringName.... Add solution
Best helpers
Androider
+5
Oritatami
+5
Meldie Ching
+5
Zolani13
+5
Joshua Burns
+5
Alana
+5
Bossylobster
+5
Jack Steele
+5
Mike
+5