Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Cairo Assignment 1 - Implementation
📌 Objective
This PR implements solutions for Cairo Assignment 1, focusing on basic arithmetic operations and logical conditions using Cairo's primitive data types. Each function is modular, reusable, and well-commented as per the assignment guidelines.
✅ Tasks Implemented
Arithmetic Operations
Subtraction function
Multiplication function
Division function (with division by zero handling)
Even or Odd Sum
Function that computes the sum of two numbers and determines if it is even or odd
Odd Number Checker
Function that checks if a given number is odd
Basic Logic Functions
Number Sign Checker (determines if a number is positive, negative, or zero)
Maximum of Two Numbers (returns the larger of two numbers)
🛠 Implementation Details
Each function follows modular programming principles.
Meaningful variable names and snake_case are used for readability.
Type safety is ensured with correct argument and return types.
Edge cases, including division by zero, are handled appropriately.
Functions are tested within the main function, logging outputs to the terminal.
Here is Screenshot:

📌 How to Test
Run the main function to verify the correctness of all implemented functions. The expected outputs should match the described logic.
🚀 Ready for Review
Please review the implementation and suggest any improvements if needed. 🚀