You are here

Page not found

Search results

  1. C program to find minimum value in an array

    C program to find the minimum or the smallest element in an array. It also prints ... it occurs in the list of integers. How to find smallest number in an array? Our algorithm assumes the first element as the minimum ... = window.adsbygoogle || []).push({}); C program to find smallest number in an array #include <stdio.h> ...

    Yogesh Suneja - 11/10/2020 - 11:36

  2. Palindrome in Java

    Java program to check if a string is a palindrome or not, it's a palindrome if it ... on reversal. For example, "dad" is a palindrome, as its reverse is "dad," whereas "program" isn't, as its reverse is "margorp" that is ...

    Yogesh Suneja - 12/10/2020 - 22:21

  3. 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

  4. 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

  5. Java program to add two numbers

    Java program to add two numbers, a user enters two integers, and we calculate their ...   System . out . println ( "Enter first large number" ) ;     number1 = in. nextLine ( ) ;   ...

    Yogesh Suneja - 04/12/2019 - 19:35

  6. 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

  7. 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

  8. C program to count number of vowels in a string

    C program to count number of vowels in a string: for example, in the string "love" there are two vowels 'o' and 'e'. In the program both lower and upper case are considered i.e., 'a', 'A', 'e', 'E', 'i', ...

    Yogesh Suneja - 23/11/2019 - 11:40

  9. Even odd program in Java

    Java program to check whether a number is even or odd; if it's divisible by two, then it's even, otherwise, ...

    Yogesh Suneja - 25/10/2020 - 23:04

  10. Enhanced for loop in Java

    Enhanced for loop in Java is better when scanning a complete array instead of using a for loop. Its ... array_name is the name of an array. Enhanced for loop Java program class EnhancedForLoop {   public static ...

    Yogesh Suneja - 05/12/2019 - 00:09

Pages