Giter Site home page Giter Site logo

codsoft's Introduction

Task description -

TASK 1 NUMBER GAME

  1. Generate a random number within a specified range, such as 1 to 100.
  2. Prompt the user to enter their guess for the generated number.
  3. Compare the user's guess with the generated number and provide feedback on whether the guessis correct, too high, or too low.
  4. Repeat steps 2 and 3 until the user guesses the correct number. You can incorporate additional details as follows:
  5. Limit the number of attempts the user has to guess the number.
  6. Add the option for multiple rounds, allowing the user to play again.
  7. Display the user's score, which can be based on the number of attempts taken or rounds won

TASK 2 STUDENT GRADE CALCULATOR

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

TASK 3 ATM INTERFACE

  1. Create a class to represent the ATM machine.
  2. Design the user interface for the ATM, including options such as withdrawing, depositing, and checking the balance.
  3. Implement methods for each option, such as withdraw(amount), deposit(amount), and checkBalance().
  4. Create a class to represent the user's bank account, which stores the account balance.
  5. Connect the ATM class with the user's bank account class to access and modify the account balance.
  6. Validate user input to ensure it is within acceptable limits (e.g., sufficient balance for withdrawals).
  7. Display appropriate messages to the user based on their chosen options and the success or failure of their transactions.

codsoft's People

Contributors

ga0rav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.