![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 16.08.2021 21:50, oscaryn7213
Write for a loop that will check each value in data_list to see if they are even or odd and whether they are positive or negative.
a- If they are both positive and even, encode this as the number 1
b- If they are both negative and odd, encode this as the number -1.
c- otherwise encode this as the number 0
d- store the result for each value into a list called num_ type
![answer](/tpl/images/cats/otvet.png)
Answers: 2
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 07:20, Hcalhoun21
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:30, nxusasmangaliso1191
The most common battery cable terminal is a that provides a large surface contact area with the ability to tighten the terminal onto the battery post using a nut and bolt.
Answers: 2
Do you know the correct answer?
Write for a loop that will check each value in data_list to see if they are even or odd and whether...
Questions in other subjects:
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 05:10
![Konu](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 05:10
![Konu](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 05:10
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
English, 15.01.2021 05:10
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 05:10