write while loop fragment that calculates the following values(asum of the first counting numbers (bsum of the first odd numbers (csum of series of numbers entered by the user until the value is entered note should not be part of the sum (dthe number of times whole number can be divided by (using integer divisionbefore reaching ( log nprogramming exercises the fibonacci sequence starts each number in the sequence (after the first twois the sum of the previous two write program that computes and outputs the nth fibonacci numberwhere is value entered by the user the national weather service computes the windchill index using the following formula ( ( where is the temperature in degrees fahrenheitand is the wind speed in miles per hour write program that prints nicely formatted table of windchill values rows should represent wind speed for to in mph incrementsand the columns represent temperatures from - to + in -degree increments write program that uses while loop to determine how long it takes for an investment to double at given interest rate the input will be an annualized interest rateand the output is the number of years it takes an investment to double notethe amount of the initial investment does not matteryou can use $ the syracuse (also called collatz or hailstonesequence is generated by starting with natural number and repeatedly applying the following function until reaching syr(xx/ if is even if is odd for examplethe syracuse sequence starting with is it is an open question in mathematics whether this sequence will always go to for every possible starting value write program that gets starting value from the user and then prints the syracuse sequence for that starting value positive whole number is prime if no number between and (inclusiveevenly divides write program that accepts value of as input and determines if the value is prime if is not primeyour program should quit as soon as it finds value that evenly divides