-
Welcome to CODEQUEST Repository
-
- Daily coding challenge
-
May 27, 2024
- You must create a variable that will hold your first name, middle name, and last name
- Create a variable to store your age in integer
- Create a variable to store your gender in string.
- Display your personal information using string interpolation
-
May 28, 2024
You'll use the Random.Next() method to simulate rolling three six-sided dice. You'll evaluate the rolled values to calculate the score. If the score is greater than an arbitrary total, then you'll display a winning message to the user. If the score is below the cutoff, you'll display a losing message to the user.
- If any two dice you roll result in the same value, you get two bonus points for rolling doubles.
- If all three dice you roll result in the same value, you get six bonus points for rolling triples.
- If the sum of the three dice rolls, plus any point bonuses, is 15 or greater, you win the game. Otherwise, you lose.
Sample output
Dice roll: 3 + 4 + 5 = 12 Sorry, you lose. -
May 29, 2024
Create a new dotnet console that will compare 3 numbers and display the highest number and the lowest number.
Start your code by declaring 3 int variables.
int num1 = 25; int num2 = 75; int num3 = 10;
The output of your code should be like this.
Highest Number: 75 Lowest Number: 10Extra challenge: Try stroring the 3 numbers in an array and iterate through it to find the highest and lowest number.
-
May 30, 2024
Create a program that will check if a number is even.
Start by declaring a variable
int numberToCheck = 6;
Your output should be like
Number 6 is even Number 7 is not even
-
- Daily coding challenge
-
- Daily coding challenge
-
June 3 - 7, 2024
Create a new model class with the properties FirstName, Middle Name, Last Name and Age
Create an instace of this class and and display it in a h1 tag
-
- Daily coding challenge
-
-
Coding challenge for the week
-
Create a new solution for your inventory list screen
-
Create an inventory model in the Model folder that has the properties ItemID, ItemName, ItemDescription, ItemCode, Quantity, and CreateDate.
-
Create a new controller and name it InventoryController.
-
Create a new method in the InventoryController and create a new view.
-
Create a list of your inventory model and add a dummy data.
Display the dummy datas in a table in your newly created view.
-
-
-
-
Coding challenger
-
Create a database for your inventory list screen
-
Create
AppDbContext.csand model for your inventory list screen -
Create
IInventoryRepositoryandInventoryRespository.cs -
Migrate your models to your database
-
Update your list screen to display all datas in the database
-
Create an edit screen
-
-
Create a repository and all all your coding challenge
-
Fernaniii/MVCBootcamp
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Releases
No releases published
Languages
- C# 40.6%
- HTML 32.2%
- CSS 25.9%
- JavaScript 1.3%