1 – Worth 2.5 points. Using Windows Batch in command prompt. – Implement division by 0, with error trapping, using if and while() commands,How:- Append your name, current date and time to a NEW file called results.txt- Use a while loop.- If the user enters the value 999 for the first or the second number, you mustexit the while loop immediately. – Ask the user to enter the first number.- Ask the user to enter the second number.- If the second number is ZERO inform the user and ask for a correct second number.- If the second number is NOT a zero, do the division, display all numbers in thiscomputation using labels, and add them to the results.txt file. 2 – Worth 2.5 points. Using Windows Batch in command prompt. How: – Use a for loop from 1 to 100. – Find the results of calculating each number from (1 to 100 mod 3) + 5.- After the for loop ends, display the average for all previous results andappend them to the results.txt file.