Skip to content

Here is the four Tasks done for the CODSOFT internship in JAVA Programming.

Notifications You must be signed in to change notification settings

129Ashish/CODSOFT_TASKS

Repository files navigation

CODSOFT Internship Tasks :

These Tasks basically are :

// ----------------------------------------------------------------FIRST TASK PROJCT :----------------------------------------------------

(A).Number Game : 1.Generate a random number within a specified range, such as 1 to 100.

  1. Prompt the user to enter their guess for the generated number.

  2. Compare the user's guess with the generated number and provide feedback on whether the guess is correct, too high, or too low.

  3. Repeat steps 2 and 3 until the user guesses the correct number.

// --------------------------------------------------------------SECOND TASK PROJCT :------------------------------------------------------

(B).Student Grade Calculator : Input: Take marks obtained (out of 100) in each subject. Calculate Total Marks: Sum up the marks obtained in all subjects. Calculate Average Percentage: Divide the total marks by the total number of subjects to get the average percentage. Grade Calculation: Assign grades based on the average percentage achieved. Display Results: Show the total marks, average percentage, and the corresponding grade to the user.

// ------------------------------------------------------------THIRD TASK PROJCT :-------------------------------------------------------------

(C).ATM Interface : 1.Create a class to represent the ATM machine.

  1. Design the user interface for the ATM, including options such as withdrawing, depositing, and checking the balance.

  2. Implement methods for each option, such as withdraw(amount), deposit(amount), and checkBalance().

  3. Create a class to represent the user's bank account, which stores the account balance.

  4. Connect the ATM class with the user's bank account class to access and modify the account balance.

  5. Validate user input to ensure it is within acceptable limits (e.g., sufficient balance for withdrawals).

  6. Display appropriate messages to the user based on their chosen options and the success or failure of their transactions.

// ----------------------------------------------------------------FOURTH TASK PROJCT :--------------------------------------------------------

(D).Currency Convertor : Currency Selection: Allow the user to choose the base currency and the target currency. Currency Rates: Fetch real-time exchange rates from a reliable API. Amount Input: Take input from the user for the amount they want to convert. Currency Conversion: Convert the input amount from the base currency to the target currency using the fetched exchange rate. Display Result: Show the converted amount and the target currency symbol to the user.

About

Here is the four Tasks done for the CODSOFT internship in JAVA Programming.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages