Page not found
Search results
abs in C
... the absolute value of a number. abs function in C language #include <stdio.h> #include <math.h> int ... ; return 0 ; } Output of program: You can implement you own function as follows: long ...
Yogesh Suneja - 27/11/2019 - 18:45
colors in C graphics
Following colors are available for use in C graphics programming. Colors table Color Value ... advised to use color name as it will improve readability of program. C programming: graphics.h ...
Yogesh Suneja - 09/06/2018 - 20:50
C faq
... This page contains faq (Frequently asked questions) about C language. Q1) What is C? Ans: C is a programming language. Q2) What is main function? Ans: ...
Yogesh Suneja - 31/10/2019 - 19:34
Matrix addition in Java
... args [ ] ) { int m, n, c, d ; Scanner in = new Scanner ( System . in ) ... elements of first matrix" ) ; for ( c = 0 ; c < m ; c ++ ) for ( d = ...
Yogesh Suneja - 05/12/2019 - 20:07
Matrix multiplication in Java
... ) { int m, n, p, q, sum = 0 , c, d, k ; Scanner in = new Scanner ( System . in ... of first matrix" ) ; for ( c = 0 ; c < m ; c ++ ) for ( d = ...
Yogesh Suneja - 05/12/2019 - 20:30
Java for loop
... You can terminate an infinite loop by pressing Ctrl + C . Simple for loop example in Java Example program below uses for ... ( String [ ] args ) { int c ; for ( c = 1 ; c <= 10 ; c ...
Yogesh Suneja - 04/12/2019 - 08:47
Transpose of a matrix in Java
... args [ ] ) { int m, n, c, d ; Scanner in = new Scanner ( System . in ) ... elements of the matrix" ) ; for ( c = 0 ; c < m ; c ++ ) for ( d = ...
Yogesh Suneja - 05/12/2019 - 20:21
getx and gety functions in C
... the Y coordinate of the current position. Example program of getx and gety functions: #include <graphics.h> ... 100 ] ; initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ; moveto ( 200 + random ( ...
Yogesh Suneja - 22/11/2019 - 19:49
C mouse programs
Mouse programs using C: Do everything with mouse using these C programs. On this page you will find sample mouse programs using C language. Programs ranging from how to use mouse in text and graphics mode. ...
Yogesh Suneja - 09/06/2018 - 20:50
for loop in C
for is a keyword of C programming language. It is frequently used in C programs. We will discuss how to use for loop and it's variations with different program examples. for (initialization; condition checking; increment or ...
Yogesh Suneja - 09/06/2018 - 20:56