You are here

Page not found

Search results

  1. C program to find maximum and minimum number in an array

    C program to find the maximum and minimum number in an array. A user will input the array and we'll find the largest and the smallest number in the array. C program #include <stdio.h> int main ( ) {   ...

    Yogesh Suneja - 24/11/2019 - 00:12

  2. Exception handling in Java

    Java exception handling: we learn how to handle exceptions in Java with the help of suitable examples. Exceptions are errors that occur when a program executes. At compile time, syntax and semantics checking is done, and ...

    Yogesh Suneja - 04/12/2019 - 21:33

  3. Factorial program in C

    Factorial program in C using a for loop, using recursion and by creating a function ... , f = 1 ;     printf ( "Enter a number to calculate its factorial \n " ) ;   scanf ( "%d" ... || []).push({}); Output of C factorial program: Download Factorial program. As n! grows at a faster ...

    Yogesh Suneja - 11/10/2020 - 00:24

  4. C program to print Armstrong numbers

    C program to print Armstrong numbers, in the program, a user inputs two integers, and we print all Armstrong numbers between ... we call function check_armstrong, which returns '1' if a number is Armstrong and '0' otherwise. If you are not familiar with Armstrong ...

    Yogesh Suneja - 14/12/2019 - 21:39

  5. C substring, substring in C

    C substring program to find substring of a string and its all substrings . A substring ... || []).push({}); C substring program #include <stdio.h>   int main ( ) { ... C program*/ Substring program output: Number of substrings of a string A string of length n has [n*(n+1)/2 +1] ...

    Yogesh Suneja - 02/10/2020 - 16:44

  6. Using multiple classes in a Java program

    A Java program may contain any number of classes. The following program comprises of two classes: Computer and ...

    Yogesh Suneja - 04/12/2019 - 20:24

  7. Java program to find the largest of three numbers

    Java program to find the largest of three numbers, if the numbers are unequal, then ... '>' is used to compare two numbers. To find the largest number out of given numbers you can also use an array. ...

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

  8. Java program to open Notepad

    Java program to open Notepad, it's a text editor installed in the Windows operating ... used for creating and editing text files. You may be writing Java programs in it, but you can also open it from your Java program. How ...

    Yogesh Suneja - 05/12/2019 - 20:46

  9. Java program to generate random numbers

    Java program to generate random numbers. We print 10 random numbers in the range [0, ... random float's use nextFloat, which returns a floating-point number between 0.0 to 1.0. ...

    Yogesh Suneja - 05/12/2019 - 18:46

  10. Java program to get IP address

    Java program to print the IP (Internet Protocol) address of a computer system, we use InetAddress class of java.net package, the getLocalHost method returns InetAddress object, which ...

    Yogesh Suneja - 05/12/2019 - 19:57

Pages