- 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.
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.
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
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!
- 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.
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.
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.
- Run the game by executing the provided script.
- Follow the prompts to guess the correct number.
- After each round, choose whether to play again or exit.
- Have fun and test your guessing skills!
-
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
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.
- Run the program by executing the provided script.
- Enter the number of subjects for which you want to calculate the grade.
- Enter the marks obtained (out of 100) for each subject.
- The program will calculate the total marks, average percentage, and assign a grade based on the average percentage.
-
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
- 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%
- Clone or download this repository to your local machine.
- Compile and run the provided Java file using a Java compiler or IDE.
- 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.
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.
- 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.
- Clone or download this repository to your local machine.
- Compile the Java file using a Java compiler or IDE.
- Run the compiled program to start the ATM Interface.
- Follow the on-screen prompts to interact with the ATM, check balance, deposit, and withdraw funds.
- Exit the program when done.
$ javac Main.java $ java Main Enter initial account balance: $1000 ATM Menu:
- Check Balance
- Deposit
- Withdraw
- Exit Select an option: 2 Enter deposit amount: $200 Deposit of $200.0 successful. Current balance: $1200.0 ATM Menu:
- Check Balance
- Deposit
- Withdraw
- Exit Select an option: 3 Enter withdrawal amount: $800 Withdrawal of $800.0 successful. Current balance: $400.0
Welcome to the Student Course Registration System! This program allows students to register for courses and manage their course schedule.
- 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.
- Clone or download this repository to your local machine.
- Compile the Java file(s) using a Java compiler or IDE.
- Run the compiled program to start the Student Course Registration System.
- Follow the on-screen prompts to interact with the system, including course registration and removal.
- Exit the program when done.
Welcome to the Student Management System! This program allows you to manage student information including names, roll numbers, and grades.
- 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.
-
- Clone or download this repository to your local machine.
-
- Compile the Java file using a Java compiler or IDE.
-
- Run the compiled program to start the Student Management System.
-
- Follow the on-screen prompts to add, remove, search, and display student information.
-
- Exit the program when done.
-
- Add Student
-
- Remove Student
-
- Search Student
-
- Display All Students
-
- Exit
-
Select an option: 1
-
Enter Name: John Doe
-
Enter Roll Number: 123
-
Enter Grade: A
- Student Management System
-
- Add Student
-
- Remove Student
-
- Search Student
-
- Display All Students
-
- Exit
- Select an option: 3
- Student Found:
- Name: John Doe
- Roll Number: 123
- Grade: A
-
- Add Student
-
- Remove Student
-
- Search Student
-
- Display All Students
-
- Exit
- Enter Roll Number to Remove: 123
- Student removed successfully.
-
- Add Student
-
- Remove Student
-
- Search Student
-
- Display All Students
-
- Exit
- Select an option: 4
- Student Management System
-
- Add Student
-
- Remove Student
-
- Search Student
-
- Display All Students
-
- Exit
- Select an option: 5 Exiting Student Management System.