Page not found
Search results
Java hello world program
"Hello world" program in Java to display "Hello world" on the screen. How to write hello ... { public static void main ( String args [ ] ) { System . out . ... ; } } Download Hello world program class file. "Hello World" is passed as an argument, to the println ...
Yogesh Suneja - 04/12/2019 - 08:42
Armstrong number in Java
... power ( int n, int r ) { int c, p = 1 ; for ( c = 1 ; c <= r ; c ++ ) p = p * n ; ...
Yogesh Suneja - 05/12/2019 - 00:30
Floyd's triangle in Java
... [ ] ) { int n, num = 1 , c, d ; Scanner in = new Scanner ( System . in ) ... "Floyd's triangle:" ) ; for ( c = 1 ; c <= n ; c ++ ) { for ...
Yogesh Suneja - 05/12/2019 - 00:40
getdrivername function
... returns a pointer to the current graphics driver. C program for getdrivername #include <graphics.h> #include ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; name = getdrivername ( ) ; ...
Yogesh Suneja - 22/11/2019 - 20:26
Interface in Java
... // methods declaration } Interface program in Java In our program, we create an interface named Info that ... interface Info { static final String language = "Java" ; public void display ( ...
Yogesh Suneja - 05/12/2019 - 08:26
Java constructor
... an object } } The output of the program: The program is the simplest example of a constructor. The ... "Java" ) ; cpp. setName ( "C++" ) ; java. getName ( ) ; cpp. ...
Yogesh Suneja - 04/12/2019 - 20:53
pow function in C
... Declaration: double pow(double, double); Function pow in C language #include <stdio.h> #include <math.h> int main ( ) { double c , d , result ; printf ( "Enter c and d to calculate ...
Yogesh Suneja - 27/11/2019 - 18:54
C graphics programs
All these programs have been made using C graphics. Program for various type of charts and other interesting things and patterns. C graphics programs Draw shapes Bar chart Pie chart ...
Yogesh Suneja - 19/05/2018 - 17:21
getdate C
Program to print current system date, getdate C code below explain how to use this function to print computer date. Getdate ...
Yogesh Suneja - 10/12/2017 - 06:21
getmaxcolor function
... starts from zero. Declaration: int getmaxcolor(); C program of getmaxcolor #include<graphics.h> #include<conio.h> ... ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; max_colors = getmaxcolor ( ...
Yogesh Suneja - 08/01/2018 - 20:55