Answer:
True
Explanation:
The while loop is going to be executed until the condition is false.
Since <em>k</em> is initially equal to 1, the loop will execute 88 times. One asterisk will be printed and <em>k</em> will be incremented by one during each iteration.
When <em>k</em> becomes 89, the condition will be false (89 is not smaller or equal to 88) and the loop will stop.
Answer:
Check the explanation
Explanation:
The programmable code to solve the question above will be written in a python programming language <u><em>(which is a high-level, interpreted, general-purpose programming language.)</em></u>
<u><em /></u>
f = open('thisFile.txt', 'r')
w = open('thatFile.txt', 'w')
count = 0
for line in f:
if count % 2 == 0:
w.write(line)
count += 1
w.close()
f.close()
Omg I would die to have your points because when I get on people call me a noob because I just got the app like 3 days ago and every time I answer a question some says noob like dang I just started
Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
int[] array = new int[10];
int index = 0;
while(index < array.size()){
int number = (rand() % 100) + 1;
for (int i = 0; i < 1; i++) {
array[index] = number;
cout<< "Position "<< index << "of the array = "<< number << endl;
++index;
}
}
}
Explanation:
The while loop in the source code loops over a set of code ten times, The for loop only loops once to add the generated random number between 1 and 100 to the array of size 10. At the end of the for loop, the index location and the item of the array is printed out on the screen. The random number is generated from the 'rand()' function of the C++ standard library.
Answer:
(Remember, two colors are complementary if they are opposite each other ... colors are connected on the color wheel they form a rectangle.
Explanation:
best one i could find if worng am verys very sorry.