How to write MATLAB script for prime, perfect and Armstrong number?
Mostrar comentarios más antiguos
Dear all,
I Need your help to Write MATLAB scripts for the following:
a. To accept two numbers from the user; Display all prime numbers between these two numbers.
b. To accept two numbers from the user and display perfect numbers between these two numbers.
c. To accept two numbers from the user and display armstrong number between these numbers.
Thank you in advance!
Regards,
Martin
Respuestas (2)
Walter Roberson
el 27 de Mayo de 2015
1 voto
Hints: input(), and factor()
1 comentario
KSK
el 27 de Mayo de 2015
koo xing yun
el 1 de Oct. de 2015
0 votos
Hi can I know have you solve all these 3 questions? because I have a similar quest to your. so I need some help
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!