Ask
your own question, for FREE!
Computer Science
25 Online
Visual basic loop amt = 1 for m = 4 to 1 step-1 amt = amt * m next m
Still Need Help?
Join the QuestionCove community and study together with friends!
Is there a question here? I haven't done VB in several years so I am not sure if the lack of a space after 'step' matters. Likewise, I am not sure but I believe in VB keywords need to be capitalized. ie: for, to, step, next should be For, To, Step, Next
REM Not sure what your problem is, here's a more formal presentation with a var check. Sub Main amt = 1 for m = 4 to 1 step -1 amt = amt * m next m print amt End Sub
NOW!!!! THAT'S WINDOWS! AND IT'LL ALWAYS BE WINDOWS!!!!!!!!!!
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Gdub08:
The equation 24 x 2 + 25 x u2212 47 a x u2212 2 = u2212 8 x u2212 3 u2212 53 a x u2212 2 is true for all values of x u2260 2 a , where a is a constant.
Gdub08:
You have three ovens. I coal oven, a firewood oven, and a electric oven. But only 1 match.
Gdub08:
You have three ovens. I coal oven, a firewood oven, and a electric oven. But only 1 match.
NaZebk:
Steppin' through the block, got the blicky in my waist, Enemies lurkin', better know they place, Brody in the back, he ainu2019t catchinu2019 no case, We mo
gelphielvr:
What's the difference between colonization and imperialism
gelphielvr:
How can I identify the text structures compare and contrast, problem and solution
22 hours ago
0 Replies
0 Medals
1 day ago
7 Replies
0 Medals
1 day ago
0 Replies
0 Medals
23 hours ago
18 Replies
0 Medals
22 hours ago
3 Replies
0 Medals
22 hours ago
1 Reply
0 Medals