The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
hello i need some help with the attached assignment i have tried the first one however it keeps saying the command prompt does not recognize some commands such as WHILE. the attachment has the assignment questions in itÂ
Â
1 -Using Windows Batch in command prompt.- Implement mod by 0 (find the remainder), with error trapping, using if andwhile() 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, youmustexit 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 secondnumber.- If the second number is NOT a zero, do the operation, display all numbersin thiscomputation using labels, and add them to the results.txt file.2 - Using Windows Batch in command prompt.How:- Use a for loop from 1 to 100.- Find the results of calculating each number squared- After the for loop ends, display the average for all previous results andappend them to the results.txt file showing the entire equation.3 - Using Windows Batch in command prompt.- Create a batch file that when executed will display the following. Includea pausebetween each command1 - For the current computer find the path that is used to search forexecutable programs.2 - Find fiu.edu's ip address.3 - Show the active connections in the current computer4 - Find the routers used to reach google.com5 - The OP address of the current computer4 -Using Linux Terminal Mode find:1 - For the current computer find the path that is used to search forexecutable programs.2 - Find fiu.edu's ip address.3 - Show the active connections in the current computer.4 - Find the routers used to reach google.com5 - The IP address of the current computerFiles named as follows:program1.batprogram2.batprogram3.batprogram4.sh
Attachments:
-----------