## Write a C program to calculate Binary Addition and Binary Subtraction

Write a C program to calculate Binary Addition and Binary Subtraction   Binary addition/subtraction is similar to regular (daily life) addition/subtraction, but here addition/subtraction performs only two digits those are 0 and 1, these are binary digits hence such kind of addition/subtraction is called binary addition/subtraction. Example of Binary Addition: Take two numbers, suppose numbers… Read More »

## Write a C program to calculate compound interest

Write a C program to calculate compound interest   This program will read principal, rate and time in years and then print compound interest on entered principal for given time period. Compound interest is the amount in which interest is added into the principle so that interest also can be earned interest with the principle.… Read More »

## Write a C program to design a digital clock

Write a C program to design a digital clock   This program will generate a digital clock using c program. The logic behind to implement this program – Initialize hour, minute, seconds with 0. Run an infinite loop. Increase second and check if it is equal to 60 then increase minute and reset second to… Read More »

## Write a C program to check date is valid or not

Write a C program to check date is valid or not    This program will read date from user and validate whether entered date is correct or not with checking of leap year. The logic behind to implement this program – Enter date. Check year validation, if year is not valid print error. If year… Read More »

## Write a C program to calculate EMI or EMI Calculator

Write a C program to calculate EMI or EMI Calculator   EMI Calculator: This program will read total loan amount (principal), rate and time in years and prints the per month EMI of that loan amount. The formula used in this program is: (P*R*(1+R)T)/(((1+R)T)-1) Here, P is loan amount. R is interest rate per month… Read More »

## Write a C program to convert String into Hexadecimal

Write a C program to convert String into Hexadecimal   In this program we will read a String and convert the string into Hexadecimal String. We will convert each character of the string in it’s equivalent hexadecimal value and insert the converted value in a string and finally print the Hexadecimal String….

## Write a C program to check given string is valid IPv4 address or not

Write a C program to check given string is valid IPv4 address or not   This program will read an IP address in String and check whether it is a valid IPv4 address or not. IPv4 is an IP format of xxx.xxx.xxx.xxx and each octet has value between 0 to 255……

## Write a C program to guess random number

Write a C program to guess random number   This program will read a random number and ask to user to guess it. This is just like a small game program in which user has to guess correct number which is generated randomly. Here program will give 7 attempts to guess the number, on each… Read More »

## Write a C program to design love calculator

Write a C program to design love calculator   This program will read you and your partner’s name and behalf on entered names program will calculate your love percentage. Since there is no such kind of logic to calculate the program, we made this program for fun only. This is a small game to pass… Read More »