Answer:
The program in QBasic is as follows;
PRINT "Number: "
INPUT N
LET FACT = 1
FOR I = 1 TO N
FACT = FACT * I
NEXT I
PRINT FACT
END
Explanation:
This prompts user for number
PRINT "Number: "
This accepts input from the user
INPUT N
This initializes the factorial to 1
LET FACT = 1
This iterates through the number the user inputs and calculates its factorial
<em>FOR I = 1 TO N
</em>
<em> FACT = FACT * I
</em>
<em>NEXT I
</em>
This prints the factorial
PRINT FACT
The program ends here
END
<span>safety
Sewers are made to bring waste and other trash to somewhere more safe to dispose of, and if the sewage backup had a problem, that would mean that it would be a safety hazard to the inhabitants in the area
hope this helps</span>
When you increase resolution, say from 1024x768 to 1280x1024, you have more pixels crammed into the same space. The info is still the same number of pixels in size.
Answer:
Q1. (a)
Q2. (a)
Sentence Completion
1. The Distance Table.
I only know these answers. Sorry for any inconveniences.