import java.io.File; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CDATASection; import org.w3c.dom.CharacterData...
Read more »
substring from CharacterData in XML JAVA
import java.io.File; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CDATASection; import org.w3c.dom.CharacterData...
Read more »
Data to Character Data in XML-CDATA
import java.io.File; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CDATASection; import org.w3c.dom.CharacterData...
Read more »
Titled Pane Accordin in Java
import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.Accordion; imp...
Read more »
Decimal binary conversion C Program
#include <stdio.h> int main() { int n, c, k; printf("Enter an integer in decimal number system\n"); scanf("...
Read more »
C program to find hcf lcm using function
#include <stdio.h> long gcd(long, long); int main() { long x, y, hcf, lcm; printf("Enter two integers\n"); sca...
Read more »
C program to find hcf and lcm using recursion
#include <stdio.h> long gcd(long, long); int main() { long x, y, hcf, lcm; printf("Enter two integers\n"); sca...
Read more »
c program to find hcf and lcm
C program to find hcf and lcm: The code below finds highest common factor and least common multiple of two integers. HCF is also known ...
Read more »
Factorial program in c using recursion
This is Factorial program in c using recursion Mechanism #include<stdio.h> long factorial(int); int main() { int num; l...
Read more »
Factorial program in c using function
This is Factorial program in c using function.This is another method of finding a factorial ..Factorial can be found out using for loop w...
Read more »
Factorial program in c using for loop
This program will find out the factorial of the number entered by the user #include <stdio.h> int main() { int c, n, fact =...
Read more »
Add digits using recursion C Program
This Program will add numbers using recursion #include <stdio.h> int add_digits(int); int main() { int n, result; scanf...
Read more »
add digits of number in c program
C program to add digits of a number: Here we are using modulus operator(%) to extract individual digits of number and adding them. ...
Read more »
c program to check leap year
c program to check leap year: c code to check leap year, year will be entered by the user #include <stdio.h> int main() { int...
Read more »
Check vowel using switch statement
C Program to check whether entered alphabet is vovel or not using Swith Statement #include <stdio.h> main() { char ch; pr...
Read more »
c program check input alphabet is a vowel or not
This code checks whether an input alphabet is a vowel or not. Both lower-case and upper-case are checked. #include <stdio.h> ma...
Read more »
Find odd or even using conditional operator
#include<stdio.h> main() { int n; printf("Enter an integer\n"); scanf("%d",&n); n%2 == 0 ?...
Read more »
C program to check odd or even without using bitwise or modulus operator
#include<stdio.h> main() { int n; printf("Enter an integer\n"); scanf("%d",&n); if ( (n/2)...
Read more »
C program to check odd or even using bitwise operator
#include<stdio.h> main() { int n; printf("Enter an integer\n"); scanf("%d",&n); if ( n ...
Read more »
C program to check odd or even using modulus operator
#include<stdio.h> main() { int n; printf("Enter an integer\n"); scanf("%d",&n); if ( n%2 =...
Read more »
C program to perform addition, subtraction, multiplication and division
#include <stdio.h> int main() { int first, second, add, subtract, multiply; float divide; printf("Enter two intege...
Read more »
c program for Fibonacci series
This is a simple c program for Fibonaci Seris You can use it for learning #include <stdio.h> main() { int n, first = 0, sec...
Read more »
c program print integer
This c program first inputs an integer and then prints it. Input is done using scanf function and number is printed on screen using pri...
Read more »
Hello world program in c
We may store "hello world" in a character array and then print it. #include <stdio.h> int main() { char string[] = ...
Read more »
C hello world example
#include <stdio.h> int main() { printf("Hello world\n"); return 0; }
Read more »
C program to add two numbers repeatedly
#include<stdio.h> main() { int a, b, c; char ch; while(1) { printf("Enter values of a and b\n"); ...
Read more »
C Progam for Addition without using third variable
#include<stdio.h> main() { int a = 1, b = 2; /* Storing result of addition in variable a */ a = a + b; /* Not re...
Read more »
C Progam to add two Numbers using Functions
This is a simple program to add two Numbers # include < stdio.h > # include < stdio.h > # include < conio.h > void...
Read more »




