Skip to content

Vinaykumarmahato/CodeSoft-java-programming-internship

Repository files navigation

CodSoft Internship Offer Letter

CodSoft Logo

Internship Details

  • Date: 14/08/2023
  • ID: CS07WX43672

Dear Vinay Kumar,

Congratulations! We are delighted to offer you the "Java Programming" internship position at CodSoft. We are excited about your decision to join our team.

The internship is scheduled for a duration of 4 weeks, starting from August 15, 2023, to September 15, 2023. This internship is designed to provide you with valuable educational opportunities, focusing on learning, skill development, and gaining practical knowledge.

Internship Expectations

During the internship, we expect you to engage fully in all assigned tasks, giving your best effort to each one. You will be provided with clear and reasonable instructions that you are required to follow.

Conclusion

We believe that this internship experience will contribute significantly to your growth. We look forward to working together and assisting you in achieving your career aspirations.

Best of luck!

Thank you,

Founder CodSoft

Website: www.codsoft.in Email: contact@codsoft.in

ISO 9001-2015 Certified MSME Registered

Task 1: Number Guessing Game

Welcome to the Number Guessing Game! In this game, you will have the opportunity to guess a random number within a specified range. Try to guess the number correctly within the given number of attempts. Let's see how skilled you are at guessing!

How to Play

  • The game will generate a random number within a specified range, such as 1 to 100.
  • You will be prompted to enter your guess for the generated number.
  • The game will provide feedback on whether your guess is correct, too high, or too low.
  • You will have a limited number of attempts to guess the correct number.

Additional Features

Multiple Rounds

You have the option to play multiple rounds of the game. After each round, you can decide whether to continue playing or exit the game.

Scoring

Your score will be calculated based on the number of attempts you took to guess the correct number. The fewer attempts you need, the higher your score will be.

Instructions

  1. Run the game by executing the provided script.
  2. Follow the prompts to guess the correct number.
  3. After each round, choose whether to play again or exit.
  4. Have fun and test your guessing skills!

Example Gameplay

  • Welcome to the Number Guessing Game!

  • Round 1 - Range: 1 to 100

  • You have 7 attempts.

  • Enter your guess: 50

  • Too low! Try again.

  • Enter your guess: 75

  • Too high! Try again.

  • Enter your guess: 63

  • Correct! You guessed the number in 3 attempts.

  • Your current score: 3

  • Do you want to play another round? (yes/no): yes

  • Round 2 - Range: 1 to 100

  • You have 7 attempts.

  • Enter your guess: 25

  • Too low! Try again.

  • Enter your guess: 50

  • Too high! Try again.

  • Enter your guess: 38

  • Correct! You guessed the number in 3 attempts.

  • Your current score: 6

  • Do you want to play another round? (yes/no): no

  • Thank you for playing! Your final score: 6

    Task 2: Student Grade Calculator

Welcome to the Student Grade Calculator! This program allows you to calculate your average percentage and corresponding grade based on the marks obtained in each subject.

How to Use

  1. Run the program by executing the provided script.
  2. Enter the number of subjects for which you want to calculate the grade.
  3. Enter the marks obtained (out of 100) for each subject.
  4. The program will calculate the total marks, average percentage, and assign a grade based on the average percentage.

Example

  • Enter the number of subjects: 5

  • Enter marks obtained in subject 1: 85

  • Enter marks obtained in subject 2: 92

  • Enter marks obtained in subject 3: 78

  • Enter marks obtained in subject 4: 70

  • Enter marks obtained in subject 5: 88

  • Total Marks: 413

  • Average Percentage: 82.6%

  • Grade: B

Grade Scale

  • A: Average Percentage >= 90%
  • B: 80% <= Average Percentage < 90%
  • C: 70% <= Average Percentage < 80%
  • D: 60% <= Average Percentage < 70%
  • E: 50% <= Average Percentage < 60%
  • F: Average Percentage < 50%

Instructions

  1. Clone or download this repository to your local machine.
  2. Compile and run the provided Java file using a Java compiler or IDE.
  3. Follow the prompts to input the marks and calculate the grade.

Have fun using the Student Grade Calculator to determine your average percentage and grade based on your marks!

Note: This program uses a simple grading scale for illustrative purposes. In real-world scenarios, grading scales can vary based on institutions or organizations.

Task 3 : ATM Interface

Welcome to the ATM Interface program! This program simulates a simple ATM interface, allowing users to perform transactions such as checking balance, depositing, and withdrawing funds.

Features

  • Display a menu with options to check balance, deposit, and withdraw funds.
  • Perform transactions based on user input.
  • Validate user input to ensure accurate transactions.
  • Display appropriate messages for successful and failed transactions.

How to Use

  1. Clone or download this repository to your local machine.
  2. Compile the Java file using a Java compiler or IDE.
  3. Run the compiled program to start the ATM Interface.
  4. Follow the on-screen prompts to interact with the ATM, check balance, deposit, and withdraw funds.
  5. Exit the program when done.

Example Usage

$ javac Main.java $ java Main Enter initial account balance: $1000 ATM Menu:

  1. Check Balance
  2. Deposit
  3. Withdraw
  4. Exit Select an option: 2 Enter deposit amount: $200 Deposit of $200.0 successful. Current balance: $1200.0 ATM Menu:
  5. Check Balance
  6. Deposit
  7. Withdraw
  8. Exit Select an option: 3 Enter withdrawal amount: $800 Withdrawal of $800.0 successful. Current balance: $400.0

Task 4: Student Course Registration System

Welcome to the Student Course Registration System! This program allows students to register for courses and manage their course schedule.

Features

  • Store course information, including course code, title, description, capacity, and schedule.
  • Store student information, including student ID, name, and registered courses.
  • Display available courses with details and available slots.
  • Allow students to register for courses from the available options.
  • Enable students to drop courses they have registered for.
  • Interactive console-based user interface.

How to Use

  1. Clone or download this repository to your local machine.
  2. Compile the Java file(s) using a Java compiler or IDE.
  3. Run the compiled program to start the Student Course Registration System.
  4. Follow the on-screen prompts to interact with the system, including course registration and removal.
  5. Exit the program when done.

Task 5: Student Management System

Welcome to the Student Management System! This program allows you to manage student information including names, roll numbers, and grades.

Features

  • Add a new student with name, roll number, and grade.
  • Remove a student by roll number.
  • Search for a student by roll number.
  • Display all students' information.
  • Interactive console-based user interface.
  • Simple and easy-to-use.

How to Use

    1. Clone or download this repository to your local machine.
    1. Compile the Java file using a Java compiler or IDE.
    1. Run the compiled program to start the Student Management System.
    1. Follow the on-screen prompts to add, remove, search, and display student information.
    1. Exit the program when done.

Example Usage

Student Management System

    1. Add Student
    1. Remove Student
    1. Search Student
    1. Display All Students
    1. Exit
  • Select an option: 1

  • Enter Name: John Doe

  • Enter Roll Number: 123

  • Enter Grade: A

Student added successfully.

  • Student Management System
    1. Add Student
    1. Remove Student
    1. Search Student
    1. Display All Students
    1. Exit
  • Select an option: 3

Enter Roll Number to Search: 123

  • Student Found:
  • Name: John Doe
  • Roll Number: 123
  • Grade: A

Student Management System

    1. Add Student
    1. Remove Student
    1. Search Student
    1. Display All Students
    1. Exit

Select an option: 2

  • Enter Roll Number to Remove: 123
  • Student removed successfully.

Student Management System

    1. Add Student
    1. Remove Student
    1. Search Student
    1. Display All Students
    1. Exit
  • Select an option: 4

No students currently in the system.

  • Student Management System
    1. Add Student
    1. Remove Student
    1. Search Student
    1. Display All Students
    1. Exit
  • Select an option: 5 Exiting Student Management System.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages