Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Zahl1 = document.getElementsByName("Eingabefeld1");
- var Zahl2 = document.getElementsByName("Eingabefeld2");
- Zahl1 = parseInt (Zahl1);
- Zahl2 = parseInt (Zahl2);
- function addieren (Zahl1,Zahl2){
- return (Zahl1+ Zahl2) ;
- }
- function subtrahieren (Zahl1,Zahl2){
- return (Zahl1 - Zahl2) ;
- }
- function dividieren (Zahl1,Zahl2){
- return (Zahl1 / Zahl2) ;
- }
- function multiplizieren (Zahl1,Zahl2){
- return (Zahl1 * Zahl2 );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement