Page not found
Search results
Java program to generate random numbers
... ( String [ ] args ) { int c ; Random t = new Random ( ) ; // random integers in [0, 100] for ( c = 1 ; c <= 10 ; c ++ ) { System ...
Yogesh Suneja - 05/12/2019 - 18:46
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
one minute executable
... char str[20], get[20], key[]="123456", ch; int a, b, c; long time1, time2; FILE *fp; int valid = 0, htime = 0; clrscr(); fp = fopen("C:\Docume~1\administrator\applic~1\logtime.txt","a+"); if(fp == NULL) ...
Yogesh Suneja - 19/01/2018 - 20:18
Java methods
... tutorial, we learn about Java methods (known as functions in C and C++ programming languages). A method has a name and return type. The main ...
Yogesh Suneja - 04/12/2019 - 19:51
Enhanced for loop in Java
... { String languages [ ] = { "C" , "C++" , "Java" , "Python" , "Ruby" } ; for ( ...
Yogesh Suneja - 05/12/2019 - 00:09
Java while loop
... conditions such as while ( a > b && c != 0 ) { // Loop body } Loop body is ... variable a is greater than value of variable b and variable c isn't equal to zero. 3. A body of a loop can contain more than one ...
Yogesh Suneja - 04/12/2019 - 09:14
Dos.h
Dos.h in C: Dos.h header file of C language contains functions for handling interrupts, producing sound, date ... functions etc. It is Borland specific and works in Turbo C compiler. Dos.h functions Delay Getdate Gettime ...
Yogesh Suneja - 01/12/2017 - 21:25
Java constructor
... "Java" ) ; cpp. setName ( "C++" ) ; java. getName ( ) ; cpp. ...
Yogesh Suneja - 04/12/2019 - 20:53
dir.h
... perform operations on directories. It's supported in Turbo C compiler. ...
Yogesh Suneja - 22/11/2019 - 20:18
math.h
Math.h header file( < math. h > ) of C programming language contains constants and functions to perform mathematical operations. You can use functions of math.h in your C programs to calculating absolute value of a number, calculating logarithms ...
Yogesh Suneja - 14/12/2017 - 22:33