Hong-Phuc Bui
2025-01-16 2889de7f0c2d587a17fbd322af57c29e84238620
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Übungblatt 1
/*
*
* */
 
/**
 * helloworld-html.js
 *
 */
 
import {terminal} from "./dfhi.js";
 
const G = 6.67430;
 
window.main = function(...argv) {
    /*const mass1 = parseFloat(argv[0]);
    const mass2 = parseFloat(argv[1]);
    const r = parseFloat(argv[2]);
    let force = G * mass1 * mass2 / (r*r);
    */
    //(a < b+ c) && (b < a + c) && (c < b + a);
    terminal.printh(force);
};