The lines of code that write a statement that outputs variable userNum and ends with a newline is:
<h3>The code</h3>
#include <stdio.h>
int main(void) {
int userNum;
userNum = 15; // Program will be tested with values: 15, 40.
printf("%d\n", userNum);
return 0;
}
The above code writes a code in python (not Java) with the variable userNum and ends with a newline.
Read more about python programming here:
brainly.com/question/26497128
#SPJ1
Answer:
Hey mate......
Explanation:
This is ur answer....
<h3>01110101 + 00100100 + 00010001 = 1,220,202</h3>
Hope it helps!
mark me brainliest plz.....
Follow me! :)
Answer: five types of prewriting are outlining, brainstorming, freewriting, asking question and drawing
Explanation:
BRAINSTORMING- THIS MAKING A LIST OF THINGS THAT COMES TO MIND WITHOUT CONSIDERING OTHERS IDEA.
FREEWRITING- ITS WHEN YOU NOTE DOWN IDEA THAT POPS UP IN YOUR MIND ON A PIECE OF PAPER.
Asking Questions- This assist in gathering of facts or opinions
Outlining- this is used to organize your written ideas about a topic into a logical order.
drawing- this is the art of expression through images on a surface
Answer:
Explanation:
The following Python code is a function that takes in an array as a parameter, it then loops through the array determining if the element is divisible by 3. If it is it leaves it alone, otherwise it changes it to a 0. Then ouputs the array. A test case is shown in the attached image below using a sample array.
def divisible_by_three(array):
for x in array:
if x % 3 == 0:
pass
else:
array[array.index(x)] = 0
return array
This website has an article about the on-board diagnostics system (OBD system) which turns on the Check Engine light in a motorized vehicle: https://motorist.org/articles/check-engine-light
Hope it helps you!