Programming Archives - SeekNLearn.in

## Easy Way to do Digital Image Processing using MatLab

Display Greyscale, RGB, Binary and Index Images and Store them in different formats. MATLAB code to display different grayscale,rgb,binary and indexed images We can display different types of images like grayscale,colour,binary image and index images in MATLAB through the inbuilt function “imshow”. At first, we should clear the command window,workspace Read more…

## Easy way to start a MATLAB program – Digital Image Processing

The MATLAB program is initiated by three lines indicating to clear the command window,workspace containing variables and the figure window if it is left open previously. The codes are as follows: MATLAB code to read different images  such as grayscale,rgb,index and binary from MATLAB Library We can read different types Read more…

## c Programs for Prime Numbers

Check a number is prime or not //WAP to check a number is prime or not #include<stdio.h> void main() { int n,i; printf(“Enter a number”); scanf(“%d”,&n); for(i=2;i<n;i++) { if(n%i==0) { printf(“%d is not a prime number”,n); break; } } if(i==n) { printf(“%d is a prime number”,n); } } Display prime Read more…

## Calculating Factorial and Summation upto a number using C program

Calculating Factorial using c language //WAP to calculate factorial of a number #include<stdio.h> void main() { int n,s=1,i=1; printf(“Enter a number to calculate upto”); scanf(“%d”,&n); while(i<=n) { s=s*i; i++; } printf(“Factorial of %d is %d”,n,s); } Calculating Summation using c language #include<stdio.h> void main() { int n,i,s=0; printf(“calculate summation upto”); Read more…

## Binary to Decimal number and Decimal to Binary Conversion with C program

Decimal to Binary Conversion Using C language //WAP to convert a decimal number to a binary number #include<stdio.h> void main() { int n,i=1,r,ten=1,bin=0; printf(“Enter a decimal number:”); scanf(“%d”,&n); while(n>0) { r=n%2; bin=bin+r*ten; n/=2; ten=ten*10; } printf(“Your binary value is:%d”,bin); } Binary to Decimal Conversion Using C language //WAP to convert Read more…

## Best Book For Java Programmers- Java: The Complete Reference

The Definitive Java Programming Guide Fully updated for Java SE 8, Java: The Complete Reference, Ninth Edition explains how to develop, compile, debug, and run Java programs. Bestselling programming author Herb Schildt covers the entire Java language, including its syntax, keywords, and fundamental programming principles, as well as significant portions Read more…

## Programming Language- A language for developer is developing faster

The programming language is the language of saying something to the computer. To make a program for work in an easier way programing language is the first thing that you should learn. At the beginning time of programming, the languages were based on binary digits ‘0’ and ‘1’. But things Read more…