Posted at 02:53h
in
archives
by admin
Question 1:
We have learn how to make the picture bounce from left to right and right to left. Please make change of the program we made in the class to make the picture bounce up and down as well.
Hint: We made a variable named ‘xspeed’ to...
Posted at 02:47h
in
Uncategorized
by admin
Question:
Modify the program we made in the class to:
Create Enemy class
Add one enemy spaceship to your program
The enemy spaceship will keep moving from left to right and right to left side of the screen.
...
Posted at 02:45h
in
Uncategorized
by admin
Question 1:
Write a program to print a multiplication table (a times table). At the start, it should ask the user which table to print. The output should look something like this:
You probably used a for loop in your program in last homework. That’s how most people would do...
Posted at 02:43h
in
Uncategorized
by admin
Question 1:
Write a program to print a multiplication table (a times table). At the start, it should ask the user which table to print. The output should look something like this:
You probably used a for loop in your program in last homework. That’s how most people would do...
Posted at 02:41h
in
Uncategorized
by admin
Problem DescriptionSuppose we have a number like 12. Let’s define shifting a number to mean adding a zero at the end. For example, if we shift that number once, we get the number 120. If we shift the number again we get the number 1200....
Posted at 02:39h
in
Uncategorized
by admin
Question:
Create Card class so it can complete the following tasks:
You can initial the card with value.
you can compare two card object like c1>c2.
you can use print(c1) shows the card value
(Assume the smallest card value is 2, then followed by 3, 4, 5,...