subject

#! /bin/bash## name of the program is test_script_a. shecho " enter 2 numbers"read y z## main part of the programx=0y=0z=0while [ $y -gt 0 ]dox=$(( $x + $z))y=$(($y – 1))wait $xdoneecho $x## end of programwhat is the output of the program if y=5 and z=10?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:40
Adna sequence encoding a five-amino acid polypeptide is given below. …… …… locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
:you areto design the controller for alight that functions both as an ordinary light and also as a motion activated light and alarm. a.if the manual switch s is on, then the light l is on. b.besides the manual switch, there is a motion detector, m1, which activatesthis light.c.if motion is detected but the light is on anyway because s is on, only then a secondoutput a, an alarm, is turned on. d.the disable switch, d, disables the motion activated light and alarmbut leaves manual control operation of the light using switch s.(i)read the problem statement and clearly identify the inputs and outputs for the circuit you are designing. (ii)create the truth table for this system; include the light, alarm, switch, disable, and the motion sensor.(iii)draw a schematic of this system.
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
#! /bin/bash## name of the program is test_script_a. shecho " enter 2 numbers"read y z## main part o...
Questions
question
Mathematics, 14.12.2020 22:30
question
Social Studies, 14.12.2020 22:30
question
Mathematics, 14.12.2020 22:30
question
History, 14.12.2020 22:30
Questions on the website: 13722361