<span>Please see that Raster graphics are made up of pixels whereas Vector graphics are composed of paths, therefore the advantage of vector graphics is useful for creating images made up of line based components, such as Texts, polygons etc.
Asteroids was a vector graphics based classic game.</span>
Answer:
Written in Python:
dollars = int(input("Amount: "))
numFive = int(dollars/5)
numOnes = dollars%5
print(str(dollars)+" yields "+str(numFive)+" fives and "+str(numOnes)+" ones.")
Explanation:
This line prompts user for input
dollars = int(input("Amount: "))
This line calculates the number of 5 that can be gotten from the input. This is done using integer division
numFive = int(dollars/5)
This line gets the remaining ones. This is done by using the modulo sign to get the remainder when input is divided by 5
numOnes = dollars%5
This line prints the required output
print(str(dollars)+" yields "+str(numFive)+" fives and "+str(numOnes)+" ones.")
Answer:
Three basic functions of language: Informative, Expressive, and Directive Language
- Informative language. Simply put, informative language can be looked at as though it is either right or wrong, or true or false
- Expressive language
- Directive language