Calculator version francais

juste une calculatrice pour faire des division

目前為 2024-05-02 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Calculator version francais
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  juste une calculatrice pour faire des division
// @author       LongName
// @match        https://agma.io
// @match        https://www.youtube.com
// @match        https://www.roblox.com/home
// @match        https://www.chess.com
// @match        https://github.com
// @match        https://adblockplus.org
// @icon         https://cdn-icons-png.flaticon.com/512/4374/4374752.png
// @grant        none
// ==/UserScript==

   (function() {
       'use strict';
// vous pouvez en fait ajouter des sites Web juste en haut en ajoutant a la suite // @match        https://exemple.com/.fr/.io

// ce programme calcule le quotient de 2 entiers entrés par l'itulisateur

   let dividende;
   let diviseur;
   let quotient = 1;

   console.log(dividende);

   dividende = Number.parseInt(prompt("entrer le dividende entier", "0"));
   diviseur = Number.parseInt(prompt("entrer le diviseur entier ", "1"));
   quotient = dividende / diviseur;

   alert("le quotient est "+quotient+".");

   console.log(`le quotient est ${quotient}.`);

})();