.Java Identifiers className methodname varibles Rules of identifiers: 1. cherecters(a-z,A-Z) 2. number or digits(0-9) 3. special symbols(_,$) 4. identifiers start with charecter 5. don’t give spaces inside the identifier 6. Identifiers are case sensitive(ex: one, ONE as treated two different Read More …

# Category: Programs

## C program to print patterns of numbers and stars

C program to print patterns of numbers and stars: These program prints various different patterns of numbers and stars. These codes illustrate how to create various patterns using C programming. Most of these C programs involve usage of nested loops Read More …

## C Program to Find Factorial of a Number

C Program to Find Factorial of a Number: The factorial of a positive integer n is equal to 1*2*3*…n. You will learn to calculate the factorial of a number using for loop in this example. The factorial of a positive Read More …

## Given Number is Strong number or Not Program in c language

Given Number is Strong number or Not Program in c language: A number is said to be a strong number if the sum of factorial of its individual digits is equal to the number itself. eg. 145 = 1! + 4! + Read More …

## Swapping of two numbers without third variable

Swapping of two numbers without third variable: C program to swap two numbers without using third variable, swapping in c using pointers, functions (Call by reference) and using bitwise XOR operator, swapping means interchanging. For example if in your c Read More …

## C program to swap two numbers with using third variable

C program to swap two numbers with using third variable: C program to swap two numbers with using third variable, swapping means interchanging. For example if in your c program you have taken two variable a and b where a = Read More …

## C Program to Check Armstrong Number

C Program to Check Armstrong Number: Example to check whether an integer (entered by the user) is an Armstrong number or not using while loop and if…else statement. A positive integer is called an Armstrong number of order n if abcd… = Read More …

## C Program to Check Whether a Number is Even or Odd

C Program to Check Whether a Number is Even or Odd: In this example, if…else statement is used to check whether a number entered by the user is even or odd. An even number is an integer that is exactly Read More …

## Fibonacci series Program in C Language

Fibonacci series Program in C Language: Fibonacci series in C programming: C program for Fibonacci series without and with recursion. Using the code below you can print as many numbers of terms of series as desired. Numbers of Fibonacci sequence are Read More …

## C Program to Check Whether a Number is Palindrome or Not

C Program to Check Whether a Number is Palindrome or Not: This program reverses an integer (entered by the user) using while loop. Then, if statement is used to check whether the reversed number is equal to the original number Read More …

## Check Prime Number Program in Python

Check Prime Number Program in Python; To check whether the input number is a prime number or not in python, you have to ask from user to enter a number and start checking the number for prime number as shown Read More …

## Prime Number Program in JavaScript

Prime Number Program in JavaScript Using JavaScript you can easily write any programming code, Here we write one of the most popular program Prime Number Program in JavaScript. To perform this task we need for loop and if else condition. Prime Read More …

## Prime number Program In C Language

Prime number Program In C Language: Prime number program in C: C program for prime number, this code prints prime numbers using C programming language. To check whether a number is prime or not see another code below. Prime number Read More …

## Different Java Pattern Programs @ Lifebix

Java Pattern Programs: Pattern Program I: import java.util.Scanner; public class pattern1 { public static void main(String args[]){ int n=1; System.out.println(“enter the n value : “); Scanner k=new Scanner(System.in); n=k.nextInt(); for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ System.out.print(+i” “); } System.out.print(“\n”); } } } Read More …

## Java Factorial Program @Lifebix

Java Factorial Program: Factorial of n is the product of all positive integers. n is denoted by n!. For example: 6! = 6*5*4*3*2*1 = 720 4! = 4*3*2*1 = 24 Here, 6! is pronounced as “4 factorial”, it is also Read More …