Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
How to make user input calculations?
Junior Member
Status: Offline
Posts: 2
Join Date: Feb 2021
Default How to make user input calculations? - 02-18-2021, 12:56 PM

I want to make a calculator for Alice. So if the user puts in 4*5 it comes out with 20 etc. I also need it to pick out the largest to smallest number, for example, I put in 1,2,3,4,5 the calculator gives me 5,4,3,2,1. Then I want it to add, so 4+5+5+5=19.

I need to be able to do this with arrays I think, but I'm not sure how to do this at all and I would love some help thank you!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.