What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-10 02:52:03
Print pattern in java 1 01 101 0101 10101
// Print pattern in java 1 01 101 0101 10101 import java.util.Scanner; public class PatternInJava { public static void main(String[] args) { int a, b, x, y; Scanner sc = new Scanner(System.in); System.out.println("Please enter... Add solution -
Javascript 2021-09-01 04:10:02
why can't you use arrow function with this in javascript for declaring methods
// Normal Function in JavaScript function Welcome(){ console.log("Normal function"); } // Arrow Function const Welcome = () => { console.log("Normal function"); } Add solution -
Java 2021-08-27 12:56:02
Java program to convert decimal number to binary & count number of 1s
// decimal to binary conversion in java import java.util.Scanner; public class DecimalBinaryDemo { public static void main(String[] args) { int number, count = 0, temp; String strConvert = ""; Scanner sc = new Scanner(Sys... Add solution