# C Programming Code Examples

## C > Beginners Lab Assignments Code Examples

### Program to find out if entered string contains a space character

Implement Graham Scan Algorithm Finds -
This is a C++ Program to implement Graham Scan algorithm. 'Graham's scan' is a method of computing the convex hull of a finite set of points in the plane with time complexity O(n

C++ Language & Monoalphabetic Cypher -
A substitution cipher is a method of encoding by which units of 'plaintext are replaced' with ciphertext, according to a regular system; the "units" may be "single letters", pairs of letters

Program Code Find all Factors of Number -
C program to input a number from user and find all factors of the given number using for loop. Factor of any number is whole number which exactly divides the number into whole

C++ Generate N Number of Passwords of -
C++ Program to generate N passwords each of 'length M'. Problem focuses on finding the N permutations each of length M. Generates random number between 1 and 10. Enter the

C programming Game of Goat and Tiger -
This is a game of goat and tiger. First read these instructions. The no should be 4 digit no without 0 in the first place. The digit shouldn't be reapeated. Do you agree the

C++ Check if a Point lies Inside or Outside -
'C++ Program' to Check if a Point d lies inside or outside a circle defined by Points a, b, c in a 'Plane'. For any point t (xt, yt) on the plane, its position with respect to the circle defined

Insert Element in Array at certain position -
Enter array size, array elements, element to be insert, enter the index where to insert the desired element in the array, so this program insert the desired element and displaying the

C Program code to Print Number in words -
C program to input a number from user and print it into words using for loop. The above logic is correct however it print the words in reverse order. For example, suppose number