Forums Register Login

starter program help

+Pie Number of slices to send: Send
objective: have result displayed as a number between 1 and 10

I know i need to have (<= 10) and (>=1) conditions but any other code line suggestions?
Looking to run from console command line first, so Println, right?
+Pie Number of slices to send: Send
You don't give enough context to allow us to understand what you're talking about. What is this "result" you speak of? Result of doing what?

Looking to run from console command line first, so Println, right?


There's not much we can use in what you wrote to make the connection between running from command line and needing to use println. What exactly is it that you want to do? Please TellTheDetails (←click that link)
Paper beats rock. Scissors beats tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 351 times.
Similar Threads
Running a test with a file
Creating a command prompt is swing
Calling a method
Guess a number?
Error encountered for scala script
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:24:25.