So here is the code in Python:
n = 0.00 #this is a float because there are some numbers that are decimals.
while n < 20: #n which is 0.00 and while it is lower than 20 if runs the code below
n = n + 1 #it will add 1 to n everything it runs the code.
k = n / 2 #it will divide whatever n is everytime by 2
print(str(n) + '/2: ') # it's printing the number it's on
print(k) # prints the answer for the n.
You can change n to add by any, make n any num instead of 0.00 and you can change the while condition from n < 20 to any other logical statement. If you want to get creative you can take 2 inputs for numbers and make one of them the starting number and other one is the ending number. Also make sure to make n a number lower than you starting point because if you set n as your starting point then it will skip it.
COMPLETE QUESTION:
Nominal data:
A) are ranked according to some relationship to one another.
B) have constant differences between observations.
C) are sorted into categories according to specified characteristics.
D) are continuous and have a natural zero.
Answer:
C) Are sorted into categories according to specified characteristics.
Explanation:
Nominal data is defined in statistics as that data that are 'named' or 'labelled'. Data values therefore belong to different groups with unique labels with each group associated with specified characteristics.
Answer:
In half duplex mode, the signal is sent in both directions, but one at a time. In full duplex mode, the signal is sent in both directions at the same time. In simplex mode, only one device can transmit the signal. In half duplex mode, both devices can transmit the signal, but one at a time.
Answer:
In the given statement last line i.e, "The value of g[ 3 ] is -1" is the correct answer.
Explanation:
In the given statement an integer array g is declared, in the next line the size of the array, that is "23" is initialized, in which last option, that is g[3] is equal to -1 is correct, because array indexing always starts with 0, in this array it store integer value, and the wrong option can be described as follows:
- It is wrong because it is not a reference array.
- In a second array, it initializes the value.
- The g is an array name.
I don't understand your question, like what do you mean?