Answer:
8
Explanation:
By presuming the given codes as below:
- int i = 3;
- int j = 10;
-
- if((3*i) < j)
- i = i + 2;
-
- i = i+3;
Firstly, we have i equal to 3. When the i is multiplied with 3 and check if it is smaller than j in the if statement (Line 4), it will return true and there i is incremented by two (Line 5). At this point the i = 3 + 2 = 5
Next i is incremented again by three in Line 7. Hence the final value of i = 5 + 3 = 8
Answer:
rand() function generate the random number within the range.
srand() function decide the starting point for random function or set the seed for rand() function.
Explanation:
rand() function which is used to generate the random number within the range.
srand() function is used to decide the starting point for random function.
In sort meaning, it set the seed for rand() function.
if srand() function not used, the random function generate the same output again and again because the starting point is fixed for generating the random number.
if srand() function used it change the starting point every time and random function generate the output different in every time.
Answer:If you need to use arrows in a chart, which feature or menu option of a word processing program would you use?
A.
Picture
B.
Shapes
C.
Clip Art
D.
SmartArt
E.
Charts
Explanation:
Definitely D, if you want a career that will make you happy you should make a list of your job preferences and skills
Answer:
press and hold
Explanation:
When you press and hold, some open a menu where you can add a link