Question: Part 1 - Worth 5 points. Using Windows Batch in command prompt. - Call this program program1.bat - Implement mod (find the remainder), with error
Part 1 - Worth 5 points. Using Windows Batch in command prompt. - Call this program program1.bat - Implement mod (find the remainder), 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 simulated while loop. - If the user enters the value 999 for the first or the second number, you must exit the while loop immediately. - Ask the user to enter the first number. If it is 999, exit immediately. - Ask the user to enter the second number. If it is 999, exit immediately. - 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 operation, display all numbers in this computation using labels, and append them to the results.txt file.
Part 2 - Worth 2.5 points. Using Windows Batch in command prompt. - Call this program program2.bat - Create a batch file that when executed will display the following. Include a pause between each command 1 - For the current computer find the path that is used to search for executable programs. This should be only the path, nothing else. 2 - Find fiu.edu's IP address. This should be only the IP address. 3 - Show the active connections in the current computer 4 - Find the routers used to reach google.com 5 - The IP address of the current computer. This should be just the IP address.
Part 3 - Worth 2.5 points. Using Linux Terminal Mode: - Call this program program3.sh 1 - For the current computer find the path that is used to search for executable programs. 2 - Find fiu.edu's IP address. This should be only the IP address. 3 - Show the active connections in the current computer. 4 - Find the routers used to reach google.com 5 - The IP address of the current computer. This should be only the IP address.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
