Community Profile

photo

adena0


Last seen: 대략 4년 전 2019년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 2
  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


How can I use a while loop to check if user input is an integer?
I want the user to input a non zero even interger. However with my current code, even non zero intergers like '2' aren't recogni...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How do I use a while loop to keep asking for input of even numbers?
How do I aks user to input an even number but if the number is odd or equal to 0, it should keep asking for input?

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How can my script calculate 1^3 + 2^3 + ⋯ + 10^3 + 11^3 using a for/while loop in matlab?
I'm interested to see how I could calculate 1^3 + 2^3.... 11^3 using for/ while loops. If I used vectors, how would this differ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to index a random matrix with set conditions?
How can I find elements within a random matrix M (5x5) that are negative or are between 20 and 40?

5년 초과 전 | 답변 수: 1 | 0

1

답변