C Program to mask password text with asterisk(*)

C Program to mask password text with asterisk(*). This program is to illustrate how user authentication is made before allowing the user to access the secured resources. It asks for the user name and then the password. The password that you enter will not be displayed, instead that character is replaced by ‘*’. Read more …

C program to check whether a given string is palindrome or not

Write a C program to read a string and check whether it is a palindrome or not (without using library functions). Output the given string along with suitable message.Palindrome is a word, sentence, group of characters, or number, that remains same, when reversed. For example: GADAG, 9009… Read more about C Programming Language . /*********************************************************** …

C Program To Demonstrate Linear search

Write a C program to input N numbers (integers or reals) and store them in an array. Conduct a linear search for a given key number and report success or failure in the form of a suitable message.Linear search is the basic searching algorithm, also called as sequential search. Algorithm search’s the element by comparing …

C program to find the value of cos(x)

Write a C program to find the value of cos(x) using the series up to the given accuracy (without using user defined function) Also print cos(x) using library function. Read more about C Programming Language. /*********************************************************** * You can use all the programs on www.c-program-example.com * for personal and learning purposes. For permissions to use …

C program to find the value of sin(x)

Write a C program to find the value of sin(x) using the series up to the given accuracy (without using user defined function) Also print sin(x) using library function. Read more about C Programming Language. /*********************************************************** * You can use all the programs on www.c-program-example.com * for personal and learning purposes. For permissions to use …

C program to find the sum of ‘N’ natural numbers.

Write a C program to find the sum of ‘N’ natural numbers. Natural numbers are the whole numbers except zero, usually we used for counting.Example:1, 2, 3, 4,———– Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs …

C program to check whether a given integer number is positive or negative.

Write a C program to check whether a given integer number is positive or negative.Read more about C Programming Language . This program is available on GitHub @ https://github.com/snadahalli/cprograms/blob/master/posneg.c /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs for commercial purposes,* contact [email protected]* To find more C …

C program to check whether a given integer is odd or even.

Write a C program to check whether a given integer is odd or even.Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs for commercial purposes,* contact [email protected]* To find more C programs, do visit www.c-program-example.com* and browse!* …

C program to find the simple interest , given principle, rate of interest and time.

C program to find the simple interest , given principle, rate of interest and time. Simple Interest is the money paid by the borrower to the lender, based on the principle amount, Interest rate and the time period.Simple interest is calculated by, SI=P*T*R/100 formula.Where, P is the principle amount.T is the time period.R is the …

C program to find the area of a circle, given the radius

C program to find the area of a circle, given the radius. This is the simple C program to find the area of the circle, Here we define the PI value as macros, because it is constant through out the program. Read more about C Programming Language . /************************************************************ You can use all the programs …