You are here

Page not found

Search results

  1. C program to get current position of mouse pointer

    This program prints the x and y coordinates of current position of mouse pointer ... to get mouse-pointer coordinates - where is the mouse */ C programming code #include<graphics.h> #include<conio.h> ... 50 ] ;   initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; settextstyle ( DEFAULT_FONT , 0 , ...

    yogesh - 26/02/2018 - 17:38

  2. C program to display mouse pointer in graphics mode

    This program displays mouse pointer in graphics mode. First graphics mode is initialized and then mouse using initmouse. C programming code #include<graphics.h> #include<conio.h> ... , gm ;   initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;   status = initmouse ( ) ; ...

    yogesh - 26/02/2018 - 17:42

  3. Java program to print multiplication table

    Java program to print multiplication table of a number entered by a user using a ... ( String args [ ] ) { int n, c ; System . out . println ( "Enter an integer to print ... + n + " is : " ) ;   for ( c = 1 ; c <= 10 ; c ++ ) System . out ...

    yogesh - 20/05/2018 - 10:50

  4. Java program to find odd or even

    This java program finds if a number is odd or even. If the number is divisible by two ... Another method to check odd or even, for explanation see: C program to check odd or even . Code: import java.util.Scanner ... main ( String args [ ] ) { int c ; System . out . println ( "Input an integer" ) ; ...

    yogesh - 19/05/2018 - 20:48

  5. C program to find ncr and npr

    C program to find nCr and nPr: This code calculate nCr which is n!/(r!*(n-r)!) and nPr = n!/(n-r)! C program to find nCr using function #include <stdio.h>   long ...

    yogesh - 17/02/2015 - 21:58

  6. C program to check if mouse support is available or not

    /* Program to check if mouse driver is loaded or not */ C programming code #include <dos.h> #include <conio.h>   int ... return ( o. x . ax ) ; } C programming: Mouse Programs ...

    yogesh - 26/02/2018 - 17:38

  7. Java program to print alphabets

    Java program to print alphabets on screen, i.e., a, b, c, ..., z; in lower case. Java source code class Alphabets { ... (Only the body of the main method is shown): char c = 'a' ;   while ( c <= 'z' ) { System ...

    yogesh - 21/05/2018 - 09:49

  8. Java program to swap two numbers

    Java program to swap two numbers using a temporary variable. To swap numbers without ... || []).push({}); Swap numbers program class file. Output of program: Swapping without temporary ... } } For other methods to swap numbers see: C programming code to swap using bitwise XOR . Swapping is frequently used in ...

    yogesh - 19/05/2018 - 21:22

  9. C program to find roots of a quadratic equation

    C program to find roots of a quadratic equation: This program calculates roots of ... integers, but roots may not be real. Discriminant (b*b-4*a*c) decides the nature of roots. In the program, j stands for iota . C ...

    yogesh - 01/01/2018 - 15:41

  10. Java while loop

    ... true or false and if it is a constant, for example, while (c) {…}, where c is a constant, then any non zero value of c is considered to ... use {}. It is always recommended to use braces to make your program easy to read and understand. ...

    yogesh - 21/05/2018 - 10:18

Pages