Community Profile

photo

Susana Salinas


Last seen: environ 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Reverse a string using a FOR loop
So I have this string array. fair4 = 9×1 string array "The" "reyen" "in" "Speyen" "steyes" ...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


How would I write this code without using loops?
x57a= []; for i= 1:1000 if rem(i,5) ==0 || rem(i,7) ==0 if rem(i,5)==0 && rem(i,7) ==0 continue; ...

environ 4 ans il y a | 2 réponses | 0

2

réponses

A répondu
How can I make a for loop a while loop?
Thanks!

environ 4 ans il y a | 0

Question


How can I make a for loop a while loop?
x57a= []; for i= 1:1000 if rem(i,5) ==0 || rem(i,7) ==0 if rem(i,5)==0 && rem(i,7) ==0 continue; ...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


Find the product of every fourth integer between 4 and 44 (i.e., 4×8×12×…×44), storing the result as a
So I generated this array to get every fourth integer from 4 to 44, 4:4:44; but I am confused as to how I would multiply ever...

environ 4 ans il y a | 1 réponse | 0

1

réponse