This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
johnsec
wrote ...
2021/11/8
How to display strings
johnsec
2021/11/8
#
I made a variable where it would ask you for a number. I am now trying to display said number and I can't figure out how
Super_Hippo
2021/11/8
#
The easiest way is to use the showText method in your world. For example like this:
String x = Greenfoot.ask(...); showText(x, 20, 10);
You need to login to post a reply.
X