Page not found
Search results
log10
... a number. Declaration: double log10(double number); C programming code for log10 #include <stdio.h> #include ...
Yogesh Suneja - 08/01/2018 - 20:55
floor function
... will be 2.00. Declaration: double floor(double x); C programming code for floor #include <stdio.h> #include ...
Guest (not verified) - 08/01/2018 - 20:55
Bubble sort in Java
... ( String [ ] args ) { int n, c, d, swap ; Scanner in = new Scanner ( System . in ... n + " integers" ) ; for ( c = 0 ; c < n ; c ++ ) array [ c ] = ...
Yogesh Suneja - 05/12/2019 - 20:40
Transpose of a matrix in Java
... args [ ] ) { int m, n, c, d ; Scanner in = new Scanner ( System . in ) ... elements of the matrix" ) ; for ( c = 0 ; c < m ; c ++ ) for ( d = ...
Yogesh Suneja - 05/12/2019 - 20:21
Multiplication table in Java
... String args [ ] ) { int n, c ; System . out . println ( "Enter an integer to print ... table of " + n ) ; for ( c = 1 ; c <= 10 ; c ++ ) System . ...
Yogesh Suneja - 30/11/2019 - 20:57
Even odd program in Java
... Another method to check odd or even, for explanation see: C program to check odd or even . Code: import java.util.Scanner ... ( String args [ ] ) { int c ; System . out . println ( "Input an integer" ) ...
Yogesh Suneja - 25/10/2020 - 23:04
Swapping of two numbers in Java
... } } For other methods to swap numbers see: C program to swap using bitwise XOR . ...
Yogesh Suneja - 05/12/2019 - 21:15
Linear search in Java
... ( String args [ ] ) { int c, n, search, array [ ] ; Scanner in = new ... n + " integers" ) ; for ( c = 0 ; c < n ; c ++ ) array [ c ] = ...
Yogesh Suneja - 05/12/2019 - 08:57
Java program to print alphabets
Java program to print letters (i.e., a, b, c, ..., z in lower case) on the screen using a loop. Java program ... shows only the body of the main method): char c = 'a' ; while ( c <= 'z' ) { ...
Yogesh Suneja - 04/12/2019 - 09:16
Java program to find all substrings of a string
... String string, sub ; int i, c, length ; Scanner in = new Scanner ( ... \" are:" ) ; for ( c = 0 ; c < length ; c ++ ) { ...
Yogesh Suneja - 05/12/2019 - 18:31