Page not found
Search results
C program to find the frequency of characters in a string
C program to find the frequency of characters in a string: This program counts the frequency of characters in a string, i.e., which character ...
Yogesh Suneja - 23/11/2019 - 11:40
Static method in Java with example
Java static methods: we call them without creating an object of the class. Why is the main method static? Because program execution begins from it, and no object exists before calling it. ... || []).push({}); Static method Java program class Languages { public static void ...
Yogesh Suneja - 04/12/2019 - 20:12
C program to find maximum element in a matrix
C program to find the largest or the maximum element in a matrix. C program #include <stdio.h> int main ( ) { ...
Yogesh Suneja - 03/12/2019 - 22:15
Java for loop
Java for loop is used to repeat the execution of the statement(s) until a certain condition holds. for is a keyword in Java programming language. Java for loop syntax for ( /* ... + C . Simple for loop example in Java Example program below uses for loop to print first 10 natural numbers, i.e., from 1 to ...
Yogesh Suneja - 04/12/2019 - 08:47
C program to find roots of a quadratic equation
C program to find roots of a quadratic equation: Coefficients are assumed to be integers, ... roots = -b/a and product of its roots = c/a. Let's write the program now. (adsbygoogle = ...
Yogesh Suneja - 04/11/2020 - 14:12
Java while loop
In Java, a while loop is used to execute statement(s) until a condition is true. ... use {}. It is always recommended to use braces to make your program easy to read and understand. ... = window.adsbygoogle || []).push({}); Java while loop example Following program asks a user to input an integer ...
Yogesh Suneja - 04/12/2019 - 09:14
Palindrome in Java
Java program to check if a string is a palindrome or not, it's a palindrome if it ... || []).push({}); Palindrome program in Java import java.util.* ; class Palindrome { ...
Yogesh Suneja - 12/10/2020 - 22:21
C substring, substring in C
C substring program to find substring of a string and its all substrings . A substring is itself a ... || []).push({}); C substring program #include <stdio.h> int main ( ) { ...
Yogesh Suneja - 02/10/2020 - 16:44
Java program to print date and time
Java date and time program: Java code to print or display current system date and time. We are using the ...
Yogesh Suneja - 05/12/2019 - 18:35
Java program to add two numbers
Java program to add two numbers, a user enters two integers, and we calculate their ... || []).push({}); Addition of two numbers in Java import java.util.Scanner ; class AddNumbers ...
Yogesh Suneja - 04/12/2019 - 19:35