Serverlarda dinamik veb-sahifalarni yaratish texnologiyasi


Download 63.52 Kb.
Sana18.12.2022
Hajmi63.52 Kb.
#1027437
Bog'liq
15-lab


O’ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI
MUHAMMAD AL-XORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
“Tarmoqni dasturlash asoslari” fanidan
15-laboratoriya ishi
Mavzu: “Serverlarda dinamik veb-sahifalarni yaratish texnologiyasi.”

Bajardi: Anvarjonov Farhodbek


Guruh: 415-19
Tekshirdi: Zarmasov E.

Toshkent – 2022


13-variant

Dastur kodi


<%--
Document : furqat
Created on : 13.12.2022, 8:52:47
Author : Jooyon
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>



JSP Page

<%
String youtubeID = request.getParameter("id");
int arr[] = {213,21,423,4,214,124,21,3,123,214,322,5,542};
for (int i = 0; i < arr.length; i++) {
for (int j = i + 1; j < arr.length; j++) {
int temp = 0;
if (arr[j] < arr[i]) {
temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}
%>




    <% for (int i=0;i

  • <%= arr[i] %>

  • <% } %>


Download 63.52 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling