ArnoldC | Arnold Schwarzenegger based programming language | Wiki library
kandi X-RAY | ArnoldC Summary
kandi X-RAY | ArnoldC Summary
Check the wiki for more details.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ArnoldC
ArnoldC Key Features
ArnoldC Examples and Code Snippets
Community Discussions
Trending Discussions on ArnoldC
QUESTION
ArnoldC is an esoteric language which uses movie lines(dialogues) of Arnold Schwarzenegger. It can be used to do many basic programs. I was trying to write a nested loop in it but was not able to create it. Is it possible to write nested loop in ArnoldC?
...ANSWER
Answered 2020-Apr-06 at 19:29Sure you can. You just have to declare all your loop variables outside (you can't declare them in), and initialize them every round (after the condition variable succeeded). Then you can nest loops before the outer CHILL
call.
I'll provide an example using a counter-loop, which builds on a flag variable and a counter variable, and print both counters as a four digits number. Comments are after #
, note they must not be in code (and you can Try it online!):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ArnoldC
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page