Complex Number, the Success for the Uniqueness of Natural Language Programming
DOI:
https://doi.org/10.26821/IJSHRE.10.8.2022.100801Keywords:
complex number, natural language programming, programming languageAbstract
Firstly I give introductions to complex number and Natural Language Programming syntax, and I show that the expressive power of Natural Language Programming includes the complex number syntax inside. And next I show how enNLP(Natural Language Programming in English) which combines natural language programming and Object Oriented Programming implements complex number as a class in Object Oriented Programming. Then I give the code and the tests of the code. Lastly I compare enNLP with other programming languages I know so far and show that Natural Language Programming Language is the unique programming language that can let users implement complex number both semantically and syntactically.
References
Weihan Huang, (2021), "Natural Language Programming", International Journal of Advances in Electronics and Computer Science-IJAECS, Volume-8,Issue-9 (Sep,2021) pp15
Link to the paper : http://ijaecs.iraj.in//paper_detail.php?paper_id=18189&nameNatural_Language_Programming
Java
https://en.wikipedia.org/wiki/Java_(programming_language)
C
https://en.wikipedia.org/wiki/C_(programming_language)
C++
https://en.wikipedia.org/wiki/C%2B%2B
Pascal
https://en.wikipedia.org/wiki/Pascal_(programming_language)
Lisp
https://en.wikipedia.org/wiki/Lisp_(programming_language)
Prolog
https://en.wikipedia.org/wiki/Prolog
Fortran
https://en.wikipedia.org/wiki/Fortran
Python