According to Gregorian Calender, it was Monday on the date 01/01/2001. If any year is input through the keyboard write a program to find out what is the day on 1st January of this year. There are also many other ways do to it but now I am sharing the first one that I find,Continue reading “Finding the day of 1 Jan of any year from 2001 : C Program”
Author Archives: ThE_CreaToR
Calculation of finding distance between two place in nautical miles : C Program
Write a program to receive values of latitude(L1, L2) and longitude(G1, G2), in degrees, of two places on the earth and output the distance (D) between them in nautical miles. The formula for distance in nautical miles is: D = 3963 cos^-1( sin L1 sin L1 + cos L1 cos L1 * cos( G2- G1))Continue reading “Calculation of finding distance between two place in nautical miles : C Program”
Program to Check Wind Chill Factor : C Program
Wind Chill Factor is the felt air temperature on exposed skin due to wind. The wind chill temperature is always lower than the air temperature, and is calculated as per the following formula: wcf = 35.74 + 0.6215t + (0.4275-35.75)*v^0.16 where t is the temperature and v is the wind velocity . Write a programContinue reading “Program to Check Wind Chill Factor : C Program”
First Achievement
Finding Sum of the digits a 5-digit number entered by user
We are going to find the solution of the given problem in C language syntax :- In this solution we will use Modulus Operator(%) which returns the remainder after dividing the number. Algorithm of the Solution 1. Ask for the user to input the 5-digit number. 2. Declare variables for the number , all itsContinue reading “Finding Sum of the digits a 5-digit number entered by user”
