Answer:
c. Surgeons who have done a lot of video gaming do better at the Top Gun program.
Explanation:
Video gaming is digital entertainment system that mimics real life or fiction action and sport events, controlled digitally by a user or player.
It gaming experience can be brain teasing and procedural. An individual with a prior knowledge of one game, can easily adapt to another and play better as long as the controls has being mastered. A surgeon with no prior knowledge in video gaming, would find it hard to play and would take a reasonable period of time to learn the game.
<u>Answer:</u>
<em>void main()
</em>
<em>{
</em>
<em>int n, i, fact=1;
</em>
<em>printf(""Enter the number\n"");
</em>
<em>scanf(""%d"",&n);
</em>
<em>i=num
</em>
<em>while(i>=1)
</em>
<em>{
</em>
<em>fact=fact * i;
</em>
<em>i--;
</em>
<em>}
</em>
<em>printf(""The factorial of given number %d is %d\n"", n, fact);
</em>
<em>return 0;
</em>
<em>}
</em>
<u>Explanation:</u>
This program obtains the number for which the factorial has to be found.
Then run a for loop till the factor of 1 is calculated and inside the for loop the number is multiplied with <em>other numbers in the descending order and finally result is printed.
</em>
Assuming that this is powerpoint, you answer should look like this:
To apply a background color to the slides in a presentation, navigate to the design tab.
Answer:
The program in Python is as follows:
word = input("Word: ")
if len(word) < 5:
print("At least 5 characters")
else:
pal = word[0:5]
word = word[0:4]
word = word[::-1]
pal+=word
print(pal)
Explanation:
This gets the word from the user
word = input("Word: ")
This checks if the length of the word is less than 5.
if len(word) < 5:
If yes, this tells the user that at least 5 characters is needed
print("At least 5 characters")
If otherwise
else:
This extracts the first 5 characters of the word into variable named pal
pal = word[0:5]
This extracts the first 5 characters of the word into variable named word
word = word[0:4]
This reverses variable word
word = word[::-1]
This concatenates pal and word
pal+=word
This prints the generated palindrome
print(pal)