Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C Programming Code Examples

C > Mathematics Code Examples

C Program to calculate gross salary of a person.

C++ Converting Centigrade to Fahrenheit - To "convert temperature" from centigrade to Fahrenheit in the C++, you have to ask to the user to enter the temperature in "centigrade" to convert it into Fahrenheit (using fah = (1.8

C Read a Grade and Display the Equivalent - C language program take the letter as input and store it in the variable grade. Convert the input letter into its uppercase using function toupper(). Using switch statement, verify the

Finding The Transpose of Martix in Sparse - C Programming code finding the transpose of a martix in sparse form. Printing for testing sparse input. Calling function for evaluation of transpose. Printing the transposed matrix.

Program to Extract Grams from Textdata - Print only the 'raw' words. Read input from 'FILE', default is stdin. Start reading lines from file pointer, add all entrys to 'strarray'. Print the array of strings, jumping back each

Generate Perfect Numbers in given Range - C Program Code to print all Perfect Numbers between 1 to n. A Perfect number is a positive integer which is equal to the sum of its proper positive divisors. Input upper limit from user

Checks the Connectivity of Directed Graph - Add Edge to connect "v" and "w". A recursive function to print BFS starting from s. Returns reverse ('or transpose') of this graph. Check if graph is connected. Print graph is connected.

Search Sorted Sequence Divide & Conquer - Using Fibonacci numbers we calculate mid of data array to search the data item. 'Calculate' the mid of the array. Divide the array into two subarray. 'Compare the item' by mid element

How to using Switch in a C program code - C programming using switch: The number chosen. Get the choice input. Pick a number between 1 and 20. Check for invalid selection. Selects invalid choice message. Jumps to the