Quantcast
Channel: Engineers Press » logic
Browsing all 9 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

C language: How to write Fibonacci series using loop

This is probably one of the first programs that you would learn in your computer science curriculum.  Here is  the place you can come to reference it now /* Fibonacci Series c language using for loop...

View Article



Image may be NSFW.
Clik here to view.

C language: How to write Fibonacci series using Recursion

In our last post we published the program of Fibonacci series using loops, in this post you can see how to write the program using recursion /* Fibonacci series program using recursion */...

View Article

Image may be NSFW.
Clik here to view.

C language: Program for finding factorials with recursion and with loops

This is another program which is very basic and the code is for the same program, in one block only loops are used to find the factorial in C language and in the other program recursion is used with...

View Article

Image may be NSFW.
Clik here to view.

C language: Program for finding minimum number in an Array

This is one of another programs that are asked in interviews to freshers which asks for finding minimum number in a given array.  In this program we make a function which compares all the given numbers...

View Article

Image may be NSFW.
Clik here to view.

C language: Program for checking if the given number is a palindrome or not

This is a program which checks for if the given number is a palindrome or not in language C this is one of the first programs that i learned in the school  so here’s the code for it #include...

View Article


Image may be NSFW.
Clik here to view.

C language: Program for first N prime numbers and to check if a number is...

Prime number programs bugs new programmers too much in thinking how to find the logic of finding the first n prime numbers, nth prime number , or in checking if a number is prime or not So here are the...

View Article

Image may be NSFW.
Clik here to view.

C language: Program for creating pyramid of star pattern

Another basic task that will let you learn the flow of the computer programming languages using the for loop is creating patterns in programming using characters like ” * ” . If you are just starting...

View Article

Image may be NSFW.
Clik here to view.

C language: Program for finding a reverse of a number

Another addition in our basic programming series is finding the reverse of a number, in this program you enter a number and the program returns you reverse of the number you gave it. Here’s the code...

View Article


Image may be NSFW.
Clik here to view.

C# Language: FizzBuzz Program

  The “Fizz-Buzz test” is an interview question designed to help filter out the 99.5% of programming job candidates who can’t seem to program their way out of a wet paper bag. The text of the...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images