Computer Science, asked by tanvitamrakar7245, 1 year ago

What's wrong in the following statement, provided k is a variable of type int?
for(k = 2, k <=12, k++)
A.The increment should always be ++k .
B.The variable must always be the letter i when using a for loop.
C.There should be a semicolon at the end of the statement.
D.The variable k canât be initialized.

Answers

Answered by Anonymous
3
the increment should always be ++k. 2), b. the variable must always be the letter i when using a for loop. 3), c. there should be a ...
Answered by Anonymous
1
&lt;b&gt;&lt;font size = "4"&gt;(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯

╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝

ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı

◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆

\huge\boxed{\texttt{\fcolorbox{aqua}{grey}{B}}} {\bf{\underline{Answer}}}

&lt;marquee&gt;

▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions