ejecutar algoritmo secuencial, condicional

5 vues (au cours des 30 derniers jours)
adrian ayala
adrian ayala le 2 Août 2020

Réponses (1)

Wilmer Alexander - Conferencista en Automatización y Robótica más influyente en Iberoamérica
%Script: Reverse order of characters in strings
%Wilmer Alexander Ticona alexanderticona.com
clc
clear all
num=input('Ingrese número a invertir: ');
invn=num2str(num);
invn=reverse(invn);
invn=str2num(invn);
fprintf('El número invertido es: %1.0f unidades \n',invn)
  1 commentaire
Wilmer Alexander - Conferencista en Automatización y Robótica más influyente en Iberoamérica
Thanks for asking. Please accept my proposal if your questions were resolved. I remain at your disposal for any questions.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!