How to use sqrt function in C++

Mathmetical function are those functions which are used for calculation like sin(X) used to find squareroot of the number. To use the math library functions, we must include the header file

“#include<math.h> “ in C++.

How to make Line Animation in Java

In Line Animation we use drawLine() to draw a line.In this example we use repaint() to change the color of the line.We can refresh the colors of the line.

Java Applet program to draw different shapes

Graphics is one of the important feature of Java.By using Graphics we can draw different shapes like Lines,Arcs,Polygon,Oval etc. We can also use different colors to display text or any shape .The graphics class defines a number of drawing functions.

Converting an int to a binary string representation in Java

Group of Characters make the String.We use single quotes(‘’)for character and double quotes(“”) for String. Here,Conversion means how we convert the integer number into binary.

How to print String onto Java Applet

String is a group of characters.If we want to print any string we have three methods first is by using byte[](for ASCII CODE) second is char c[](for single single character) and third is by using String(complete word).


How to find ASCII value of character in C

The continue statement is used to “continue “ the loop with its next iteration.It skips any remaining statements in the current iteration and immediately passes the control to the next iteration.

How to print a multiplication table in C using for loop

The for loop provides a more consice and easy loop structure. The for loop combines all the phases of a loop in single step means initialization,condition ,inc/dec phases.

how to use radio button in Java Swing

Radio Button is the AWT Component.Radio Button have the same appearance as Checkbox ,but the main difference is we can select only one option at a time.To create a series of radio buttons first create an instance of CheckboxGroup.

How to use ProgressBar in JavaSwing

Progress bar is a user friendly control which is used to indicate the current status of some time-consuming tasks such as software installation etc. It indicates the progress of a task by showing the percentage of completion using a color bar.

How to use Union in C language

Union is same as Structure means a collection of Variables (any type)under a single(one) name.These variables can be of different types. We can use variables of any types, inside the structure or Union.

Page 20 of 29

About Us

Rekha SetiaRekha Setia is a passionate blogger of Extra Computer Notes. if you have any ideas or any request me @