Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

making calculator command

calculator

  • Please log in to reply
5 replies to this topic

#1 jayr92

jayr92

    CC Lurker

  • Just Joined
  • Pip
  • 4 posts

Posted 31 October 2011 - 06:40 PM

help ne making calculator

project for finals,in my school
  • 0

#2 CommittedC0der

CommittedC0der

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1065 posts
  • Programming Language:C#
  • Learning:C#, JavaScript, PL/SQL

Posted 31 October 2011 - 07:33 PM

Ok, a calculator is a pretty easy final and where not going to just do your homework for you, so show us some code and we can try to help you get it working.

~ Committed.
  • 0
There IS a war going on for your mind.
Nothing of eternal significance happens besides prayer.

#3 jayr92

jayr92

    CC Lurker

  • Just Joined
  • Pip
  • 4 posts

Posted 01 November 2011 - 01:30 AM

dim waning as integer

warning = msgbox("do you relly removed this virus?", vbcritical = vbyesno, "(warning!!")

if warning vbyes then

text1.text = "virus has been removed"

else

text1.text = "virus has still harminh you computer!"

end if


Edited by Alyn, 02 November 2011 - 03:06 PM.

  • 0

#4 CommittedC0der

CommittedC0der

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1065 posts
  • Programming Language:C#
  • Learning:C#, JavaScript, PL/SQL

Posted 01 November 2011 - 07:49 AM

That appears to be a message box, asking if the user would like to remove a virus that isn't there. Are you even trying to pass your final?
~ Committed.
  • 0
There IS a war going on for your mind.
Nothing of eternal significance happens besides prayer.

#5 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 01 November 2011 - 08:24 AM

Perhaps he wants to scare his professor into not grading it?
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#6 CommittedC0der

CommittedC0der

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1065 posts
  • Programming Language:C#
  • Learning:C#, JavaScript, PL/SQL

Posted 01 November 2011 - 08:59 AM

Perhaps he wants to scare his professor into not grading it?

Well if he is I wouldn't be to scared since it seems he cant even attempt a calculator, let alone a virus. :P
~ Committed.
  • 0
There IS a war going on for your mind.
Nothing of eternal significance happens besides prayer.





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download