visuak logic while loooing help - Geeks to Go Forums

Jump to content

Log in Register Register Malware removal guide How it works

visuak logic while loooing help

#1 katie12

  • Group: Member
  • Posts: 1
  • Joined: 23-July 12

Posted 23 July 2012 - 01:38 AM

I need help with writing a code in visual logic that comes up with the answers 1 through 10 that says 1 cubed is 1 2 cubed is... and so on all in the same box. Can some one please help possibly show me the screen shot of the code. This is a while loop pribkem. Thank you for your help!

#2 AceInfinity

  • Group: Visiting Consultant
  • Posts: 31
  • Joined: 08-July 11

Posted 29 July 2012 - 10:39 PM

1) There's no such thing as "Visual Logic", you mean "Visual Basic" i'm assuming because "Visual Studio" is an IDE...
2) I don't know what you mean by "box", that could be a textbox, richtextbox, etc... So here's an example using a MessageBox
For i As Integer = 1 To 10
	Dim ans As Integer = Convert.ToInt32(Math.Pow(i, 3))
	MessageBox.Show(String.Format("{0} cubed is {1}", i, ans))
Next


Cheers
~Ace

#3 spike_hacker_inc

  • Group: Member
  • Posts: 1,328
  • Joined: 27-April 05

Posted 30 July 2012 - 09:37 AM

Hey Katie,

There in fact does exist something called VisualLogic. But to be fair I never knew about it either until I started seeing people asking questions here on GTG.

Hey AceInfinity,

I hope this can help you and it is what you are looking for:
Posted Image

Which yields this output:
Posted Image


Peace Out :cool:

#4 AceInfinity

  • Group: Visiting Consultant
  • Posts: 31
  • Joined: 08-July 11

Posted 30 July 2012 - 05:49 PM

View Postspike_hacker_inc, on 30 July 2012 - 09:37 AM, said:

Hey Katie,

There in fact does exist something called VisualLogic. But to be fair I never knew about it either until I started seeing people asking questions here on GTG.

Hey AceInfinity,

I hope this can help you and it is what you are looking for:
Posted Image

Which yields this output:
Posted Image


Peace Out :cool:


No, not what I am looking for, but lets hope it is in fact what OP is looking for.

Share this topic: