How can i change number according to input by using mod ?
Afficher commentaires plus anciens
My question is that i will give an input and if input has a single number, it will change for mod(input,10) if input has lots of numbers, it will change and write something in program like.
Enter number:-2
8
Enter number:-(9)
1
Enter number: (-4)
6
Enter number:3+(5-15)
(In modulo 10, -7 is equal to 3 same numbers)
If I give many numbers it should be like this. Thanks
4 commentaires
Azzi Abdelmalek
le 4 Mai 2016
What is the problem?
ahmet ozdemir
le 4 Mai 2016
Modifié(e) : ahmet ozdemir
le 4 Mai 2016
Azzi Abdelmalek
le 4 Mai 2016
ıf someone gives lots of numbers: What does that mean ?
ahmet ozdemir
le 4 Mai 2016
Modifié(e) : Walter Roberson
le 4 Mai 2016
Réponses (0)
Catégories
En savoir plus sur Call Java from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!