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 05:10
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
How does the use of e-mail benefit business communications? it can be sent at any time. it is faster than regular mail. it improves writing skills. it is less expensive than using a courier. it reduces the need for proofreading.
Answers: 1
You know the right answer?
Int alpha [5];
int j;
alpha [0] = 5
for ( j = 1; j < 5; j++)
{
...
Questions
question
Physics, 20.05.2021 14:00
question
Mathematics, 20.05.2021 14:00
question
Physics, 20.05.2021 14:00
question
Chemistry, 20.05.2021 14:00
Questions on the website: 13722360