Answer:
An loop statement
Explanation:
An iteration statement, loop, repeatedly executes a statement, know as a loop body,until the controlling expression is false
It’s C vinyl records permit magnetic fields
Answer:
With drag-and-drop editing, word automatically displays a paste options button near the pasted or moved text.
Explanation:
<u>Option A:</u> Cut and paste option is invalid because, cut and paste option does not provide paste symbol near the copied text. This option and cut and paste a selected text.
<u> Option C :</u> Inline is invalid in this context
<u>Option D: </u>Copy and Carry is not valid because the option “copy” is available where as carry is not available.
<u>Option B:</u> Drag and drop is the right answer because, it provides paste option by using this feature. A text can be drag and drop by selecting the text and dragging the mouse with the left click
Answer:
#include<stdio.h>
#include<stdlib.h>
int main(void){
int seedval;
scanf ("%d", &seedval);
srand(seedval);
printf("%d\n", rand()%10);
printf("%d\n", rand()%10);
return 0;
}
Explanation:
The given code is poorly formatted. So, I picked what is usable from the code to write the following lines of code:
#include<stdio.h>
#include<stdlib.h>
int main(void){
This line declares seedval as integer
int seedval;
This line gets user input for seedval
scanf ("%d", &seedval);
This line calls the srand function to generate random numbers
srand(seedval);
This prints a random number between 0 and 9
printf("%d\n", rand()%10);
This also prints a random number between 0 and 9
printf("%d\n", rand()%10);
return 0;
}