Syllabus

Home

Class Resources

News

CS-100 In-Class Project Three: The Rainbow Calculator

Instructions:

  1. Draw the form shown above that represents a calculator.
  2. Name the form frmCalc and set the Caption to Rainbow Calculator.
  3. There are 12 command buttons that make up the keypad. Name each for the digit they represent - like cmdOne - plus cmdDot for the period and cmdDash for the minus. Set the color of each button as you prefer. You don't have to pick the same one's shown here.
  4. On the right are 5 more command buttons for the calculator functions. Name them cmdAdd, cmdSub, etc. Set theit color to light blue.
  5. At the bottom is a text box to show the values entered. Name it txtResult and set the background as shown.
  6. Finally there are two more command buttons. Name them cmdClear and cmdStop.