E-Pen InMotion E-Pen Manuel d'utilisateur Page 11

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 15
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 10
More projects:
Calculator
1. Build a simple calculator.
2. Prompt the user for a number, an operation, and another number. Store these values in variables named number1, operation, and
number2.
3. Using the variables number1, operation, and number2, calculate the result of the operation and display it. For example, if the user
enters “2”, “+”, and “4”, display “6” because 2+4=6. Hint: You will need one more variable.
4. Click the green flag to test your project.
5. Name your project Calculator and save it.
Vue de la page 10
1 2 ... 6 7 8 9 10 11 12 13 14 15

Commentaires sur ces manuels

Pas de commentaire