-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from namiqzeynalli/main
tasks were completed
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
// ### Qiyməti mətn halına salan proqram tərtib edin. | ||
|
||
// let input = prompt("Zəhmət olmasa '530.90' formatında qiymət daxil edin:"); | ||
// let cashFullName = input.split("."); | ||
// console.log(`${cashFullName[0]} manat ${cashFullName[1]} qəpik`); | ||
|
||
// ### Vergi nəzərə alınmadan əmək haqqı məbləğini hesablayan proqram tərtib edin. | ||
|
||
// let inputSalary = prompt("Maaşınızı daxil edin:"); | ||
// let netSalary = Number(inputSalary) - Number(inputSalary)*13/100; | ||
// console.log(netSalary); | ||
|
||
// ### İstifadəçidən soyad, ad və ata adını istəyən, soyadı və baş hərfləri konsola çıxaran proqram tərtib edin. | ||
|
||
|
||
// let inputFullName = prompt("Soyad, Ad və Ata adınızı daxil edin:") | ||
// let getFullName = inputFullName.split(" "); | ||
// console.log(`${getFullName[0]} ${getFullName[1][0]} ${getFullName[2][0]}`); | ||
|
||
// ### Depozitdən mənfəətin hesablanması üçün proqram yazın. | ||
|
||
// let depositAmount = prompt("Əmanət məbləğini daxil edin:"); | ||
// let depositPeriod = prompt("Əmanətin müddətini daxil edin:"); | ||
// let depositPercent = prompt("Əmanətin faizini daxil edin:"); | ||
// let gain = (Number(depositAmount)*(Number(depositPercent)/100/12)*Number(depositPeriod)); | ||
// alert(`${depositPeriod} aydan sonra əmanətdən qazancınız ${gain}`); | ||
// console.log(gain); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<script src="./JS/index.js"></script> | ||
</body> | ||
</html> |