✅ Mathematical Expressions
Hi, for my university assignment, I am required to add complex expressions alongside my variables. The complex expression is just mathematical stuff.
an example is -
var size 10 (this creates a variable with the value of 10.)
size = size * 3 (this should overwrite the value of size to 30.)
i need some help to do this.
when i remove the line - size = size * 3, it draws the shape.
https://hastebin.com/pivuwabelo.csharp
an example is -
var size 10 (this creates a variable with the value of 10.)
size = size * 3 (this should overwrite the value of size to 30.)
i need some help to do this.
when i remove the line - size = size * 3, it draws the shape.
https://hastebin.com/pivuwabelo.csharp

Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.