You are here

Page not found

Search results

  1. 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 ... Enhanced for loop program. Output of program: Java enhanced for loop strings example class EnhancedForLoop { ...

    devyog - 05/12/2019 - 00:09

  2. Factorial program in Java

    Java program to find factorial of a number, if the number is negative, then an ... || []).push({}); Factorial of a number in Java import java.util.Scanner ; class Factorial {   public ...

    devyog - 05/12/2019 - 00:13

  3. Reverse a string in Java

    Java program to reverse a string that a user inputs. The charAt method is used ... = window.adsbygoogle || []).push({}); Java program to reverse a string import java.util.* ; class ReverseString {   public static ...

    devyog - 05/12/2019 - 00:42

  4. Java program to add two numbers

    Java program to add two numbers, a user enters two integers, and we calculate ... || []).push({}); Addition of two numbers in Java import java.util.Scanner ; class AddNumbers {     public ...

    devyog - 04/12/2019 - 19:35

  5. textcolor in C

    ... || []).push({}); C programming code to change text color #include<stdio.h> #include<conio.h> ...     return 0 ; } C programming code for blinking text #include<stdio.h> #include<conio.h> ...

    devyog - 03/10/2018 - 17:42

  6. C++ inline function program

    ... inline before defining the function. C++ programming code #include <iostream> using namespace std ; ... 0 ;   } } C++ programming code for inline function using class #include <iostream> using ...

    devyog - 20/03/2018 - 11:16

  7. ellipse and fillellipse functions

    ... it with current drawing color and pattern. C programming code for ellipse #include<graphics.h> main ( ) { ...     return 0 ; } C programming code for fillellipse #include<graphics.h> main ( ) { ...

    devyog - 11/01/2018 - 23:19

  8. C program to generate random numbers

    ... || []).push({}); C programming code using rand We use modulus operator in our program. If you evaluate a % ... seed = 1 if you do not use srand function. C programming code using random function (Turbo C compiler only) Function randomize is ...

    devyog - 29/09/2018 - 15:28

  9. C program to swap two numbers

    ...       return 0 ; } C programming code to swap using bit-wise XOR #include <stdio.h> int main ...

    devyog - 19/11/2019 - 09:06

  10. Linear search in C

    ... Linear search C program for multiple occurrences In the code below, we will print all locations at which the required element is found ... Linear search multiple occurrence program. Output of code: C program for linear search using a function #include ...

    devyog - 05/04/2025 - 22:18

Pages