photo

Nicholas Repko


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


how do I convert this to a for loop
x = input('Enter a number between 1 and 100: '); i = 0; while x>0 x=x-i; i=i+1; end fprintf('The while loop ran f...

4 years ago | 2 answers | 0

2

answers