Posted at 18:44h
in
Uncategorized
by admin
Question:You and your friend have come up with a way to send messages back and forth.
Your friend can encode a message to you by writing down a positive integer N and a symbol. You can decode that message by writing out that symbol N times in a row on...
Posted at 18:29h
in
Uncategorized
by admin
Question 1:Continue modify the program we made in the class:
to use spritecollide to let the fighter collect energy crystals,
Create a variable score, if the energy crystal is collected, the score will increase
Question 2:
In the class Laser and Explosion. We showed you how to load different...
Posted at 21:56h
in
Uncategorized
by admin
Question 1: (please use function that return a value)
Write a function to calculate the total value of some change—quarters, dimes and nickels. The function should return the total value of the coins. Then write a program that calls the function. The output should look like this...
Question 1.
Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit – 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then use...
Posted at 01:24h
in
Uncategorized
by admin
Question:Continue modify the program we made in the class:
create Energy class. A new energy crystal object will be created when the enemy spaceship explode
use spritecollide to let the fighter collect energy crystals, if the energy crystal is collected, the score will increase
...
Posted at 05:38h
in
archives
by admin
Question:
Annie has two favourite baseball teams: the Eagle and the Warrior. She has followed them throughout the season, which is now over. The season lasted for N days. Both teams played exactly one game on each day.
For each day, Annie recorded the number of runs scored by...