Skip to content

AdityaKonda6/TASInnovation-JavaProgramming-Internship

Repository files navigation

TASInnovation

Internship Tasks from TAS Innovation in Java.

TASK 1:- Multiplication Table Of Any Number.

Here are the simplified steps to perform multiplication of any number in Java:

  1. Prompt the user to enter a number.
  2. Read and store the number entered by the user.
  3. Prompt the user to enter another number to multiply with the first number.
  4. Read and store the second number entered by the user.
  5. Perform the multiplication of the two numbers. 6. Display the result of the multiplication to the user.

TASK 2:- Currency Converter

Here are the simplified steps to create a currency converter in Java:

  1. Prompt the user to enter the amount to be converted.
  2. Read and store the amount entered by the user.
  3. Prompt the user to enter the source currency.
  4. Read and store the source currency entered by the user.
  5. Prompt the user to enter the target currency.
  6. Read and store the target currency entered by the user.
  7. Fetch the exchange rate for the source and target currencies from an API or a predefined currency conversion formula.
  8. Multiply the amount by the exchange rate to perform the currency conversion.
  9. Display the converted amount to the user.

TASK 3:- Snake Game

Here are the simplified steps to create a Snake Game in Java:

1.Set up the game window and initialize the game board. 2. Create a Snake object and place it on the game board. 3. Generate the first food item and place it randomly on the game board. Start the game loop. 5. Read the user's input to change the direction of the snake. 6. Move the snake according to its current direction. 7. Check for collisions with the boundaries of the game board or with the snake's own body. 8. If the snake collides with the food item, increment the score and generate a new food item. 9. Update the game board to reflect the changes in the snake's position and the score. 10. Repeat steps 5-9 until the game is over. 11. Display the final score and ask the user if they want to play again.

About

Java Internship which has 3 Tasks includes:- 1. Multiplication Table 2. Currency Converter 3. Snake Game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published