- Fork this repo.
- Clone your version of the homework into you local development environment.
git clone <url>
- Create a branch with your name, the following commands might help you:
// Create the branch
git branch firstname-lastname
// Checkout the branch
git checkout firstname-lastname
//
/// Add your files that you will solve the hw in
//
// Add your new files to the staging level
git add .
// Commit you staged files
git commit -am "solve: descriptive meassge"
// Push your branch
git push --set-upstream origin firstname-lastname
- Create a PR containing your solution to the homework original repo
- Define two constants, one of type integer for phone number and another of type string for your name.
- Prompt the user to provide the dimensions of a square, which include its height and width.
- Develop a function that can compute the area of a square using the user's input.
- Implement a Dart program that loops
100
times and checks if each number iseven
orodd
. - Create a simple calculator program in Dart that can perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Create a function in Dart that can generate a random password.
- Write a function in Dart that can reverse a given string.
- Generate a list of names and print them all using a loop.
- Create a set of fruits and print them all using a loop.
- Declare an empty list of strings called
"days"
, then use theadd
method to insert the names of the seven days of the week, and finally, print all the days. - Create a map with keys
"name"
and"phone"
, and store some values in it. Then, use the"where"
method to find all keys that have a length of four. - Create a class called
"Laptop"
that has the properties"id"
,"name"
, and"ram"
. Generate three objects of this class and print all the details. - Develop a class called
"House"
with the properties"id"
,"name"
, and"price"
, and create a constructor for it. Generate three objects of this class, add them to a list, and print all the details. - Create a class called
"Camera"
with private properties"id"
,"brand"
,"color"
, and"price"
. Generate a getter and a setter method for accessing and updating the values. Finally, create three objects of this class and print all the details.
Submit by 8/5/2023 10:00 AM
Make sure that the name of the PR is your firstname lastname