C
C#4mo ago
yummy_bee

✅ help with assignement

i am working on a project for school where we are supposed to create a calculator and also make a UML diagram. i am doing the Calculator.View part and i just want to check if i am on the right track. i added the assignment and the part i have started on in Visual studio but i am not done yet.
8 Replies
HtmlCompiler
HtmlCompiler4mo ago
i think in GetRPNString you wanted Console.ReadLine()?
yummy_bee
yummy_beeOP4mo ago
oh yes you are right sorry that was a mistake do you think the UML diagram looks somewhat right because this is the description "Namespace Calculator.View should contain all C# classes associated with the user interface, i.e. input of RPN strings from the user, and presentation of results and error messages to the user." so i added the user input and output as classes but is there anything else i need to add?
HtmlCompiler
HtmlCompiler4mo ago
for an usable application this would need some more stuff, for an exercise i don't know, i should understand the assignment also i will say uml has various graphs, generally it should be a little more rich (but tbh not many cares of uml)
yummy_bee
yummy_beeOP4mo ago
yes okay so for example i could maybe add FileOutput and FileInput as classes to add results to a file and get results from a file?
HtmlCompiler
HtmlCompiler4mo ago
wait, could you take a larger picture of the uml?
yummy_bee
yummy_beeOP4mo ago
In the assignment it says to write the code to a file, so should I add FileInput and FileOutput to the UML diagram and code? @MutableString !close
Accord
Accord4mo ago
Closed!
Want results from more Discord servers?
Add your server