GithubHelp home page GithubHelp logo

java-fundamentals's Introduction

java-fundamentals

lab 1 Primitives and Control Flow

Basics

1. pluralize method : a method that takes an integer(number) and a string(word) that returns the word as it is if the provided number is 1 otherwise it returns the word with addition to s to it for example if the number is 2 cand the word is cat it returns cats .

2. Flipping Coins Method : a method that that accepts an integer (number) and keep flipping the coin until it gets that number of heads in a row .

3. Command Line Clock : Method that hat uses Java’s built-in LocalDateTime object to constantly print out the current time until the user stop it .

lab 2 Arrays, for loops, testing

Basic Library

1. Rolling Dice Method : a method that accepts an integer (number) and roll a six sided dice that number times and return and array of the results .

2. Contains Duplicates Method : a method takes an array and return true if the array have duplicate values, or return false if there's no duplicate values.

3. Calculating Averages method :a method that takes an array of integers (numbers) and calculate the averege of the numbers and return the result .

4. lowest average Method : a method that takes a matrix (array of arrays ) and calculate the avarege for each array and return the array of the lowest averege .

lab 3 Maps and FileIO

Basic Library

1.analyzingWeather : a method that takes a matrix and return the max and minimum tempreture and also return the unseen tempreture between the max and min .

2.tally : a method that takes a List of strings contains votes and return the value that have to biggest number of votes

3.Linter : a method that takes a string (a path for a javascript file) and read the file and return an error in every line that doesnt end with semi colon .

java-fundamentals's People

Contributors

hossamhaddad 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.