Filter löschen
Filter löschen

request integer inputs to put into the function

2 Ansichten (letzte 30 Tage)
Dai Nguyen
Dai Nguyen am 15 Sep. 2020
Kommentiert: madhan ravi am 15 Sep. 2020
Hi I dont know how to request integer inputs to put into the factional equation. Can anyone help me learn about how to ask for integer inputs ? Can we solve a factional with 2 integers ?
this is my code
m= input('enter the integer value of m')
n=input('enter the integer value of n');
for i=n:m
t=n*i;
end

Antworten (1)

madhan ravi
madhan ravi am 15 Sep. 2020
doc floor % and co
  3 Kommentare
madhan ravi
madhan ravi am 15 Sep. 2020
'Enter the integer value of m'
madhan ravi
madhan ravi am 15 Sep. 2020
I suggest you to read the docs.

Melden Sie sich an, um zu kommentieren.

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by