Skip to content

Notice: Welcome to Lifebix

Quick Links
  • Aptitude
  • Current Affairs Questions and Answers
  • database practice
  • Home
  • Interview
  • Programs

LifeBix

Learn and Apply

  • Home
  • Aptitude
  • Interview
  • Programs
  • Syllabus

Category: Programs

Java Identifiers | Identifiers in Java Programming

October 6, 2020October 6, 2020 lifebix

.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 …

Programs

C program to print patterns of numbers and stars

September 26, 2017October 5, 2017 lifebix
Different Pattern Programs in C Language

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 …

Programs2,994 Comments

C Program to Find Factorial of a Number

September 26, 2017October 5, 2017 lifebix
Factorial Program in C Language

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 …

Programs787 Comments

Given Number is Strong number or Not Program in c language

September 26, 2017October 5, 2017 lifebix
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 …

Programs47 Comments

Swapping of two numbers without third variable

September 26, 2017October 5, 2017 lifebix
Swap Two numbers without using third Variable In C language

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 …

Programs60 Comments

C program to swap two numbers with  using third variable

September 26, 2017October 5, 2017 lifebix
Swap two numbers using third variable in C Language

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 …

Programs2,130 Comments

C Program to Check Armstrong Number

September 26, 2017October 5, 2017 lifebix
Armstrong Number or not in C Language

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 …

Programs5,082 Comments

C Program to Check Whether a Number is Even or Odd

September 26, 2017October 5, 2017 lifebix
Given number is even or odd Number in C Language

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 …

Programs1,937 Comments

Fibonacci series Program in C Language

September 26, 2017October 5, 2017 lifebix
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 …

Programs55 Comments

C Program to Check Whether a Number is Palindrome or Not

September 26, 2017October 5, 2017 lifebix
Palindrome Number or not in C Language

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 …

Programs1,773 Comments

Check Prime Number Program in Python

September 25, 2017October 5, 2017 lifebix
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 …

Programs445 Comments

Prime Number Program in JavaScript

September 25, 2017October 5, 2017 lifebix
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 …

Programs39 Comments

Prime number Program In C Language

September 25, 2017October 5, 2017 lifebix
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 …

Programs807 Comments

Different Java Pattern Programs @ Lifebix

March 6, 2017October 5, 2017 lifebix
differnt java patern programs

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 …

Programs1,525 Comments

Java Factorial Program @Lifebix

March 6, 2017October 5, 2017 lifebix
java factorial programs

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 …

Programs35 Comments

Recent Posts

  • Protected: Kavya-DevOps Videos
  • Java oops | java oops In java programming
  • Java Collections | collections in java
  • Java Variables | Variable in Java programming
  • Java Identifiers | Identifiers in Java Programming
Copyright. All rights reserved.
Proudly powered by WordPress | Education Hub by WEN Themes
error: Content is protected !!