E-Pen InMotion E-Pen Manuale Utente Pagina 11

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 15
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 10
1 2 ... 6 7 8 9 10 11 12 13 14 15

Commenti su questo manuale

Nessun commento