What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-06 01:52:21
has integer java
// To Check The Given Number is Integer Or Not In Java import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter The Number"); System.out.println(... Add solution -
C++ 2021-09-05 11:52:02
c++ forbids comparison between pointer and integer
char a[2] defines an array of char's. a is a pointer to the memory at the beginning of the array and using == won't actually compare the contents of a with 'ab' because they aren't actually the same types, 'ab' is integer type. Also 'ab' should be... Add solution