subject

Int alpha [5];
int j;
alpha [0] = 5
for ( j = 1; j < 5; j++)
{
if ( j % 2 ==0 )
alpha [j] = alpha [ j - 1] + 2;
else
alpha [j] = alpha [ j - 1] + 3;
}
4. what is thevalue of alpha[3] after the code aboveexecutes?
a.
10
c.
15
b.
13
d.
17

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Write lines of verse that rhyme to remember the following information: acid rain is a type of air pollution caused by chemicals in the air.
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
You know the right answer?
Int alpha [5];
int j;
alpha [0] = 5
for ( j = 1; j < 5; j++)
{
...
Questions
question
Advanced Placement (AP), 24.04.2020 19:59
question
Mathematics, 24.04.2020 19:59
Questions on the website: 13722360