PL/SQL is a modern, block-structured programming language. It provides several features that make developing powerful database applications very convenient. For example, PL/SQL provides procedural constructs, such as loops and conditional statements, that are not available in standard SQL.
You can directly enter SQL data manipulation language (DML) statements inside PL/SQL blocks, and you can use procedures supplied by Oracle to perform data definition language (DDL) statements.
PL/SQL code runs on the server, so using PL/SQL lets you centralize significant parts of your database applications for increased maintainability and security. It also enables you to achieve a significant reduction of network overhead in client/server applications.
Plamia7917
01.04.2021
Сделал разницу значений.сначала вводится длинна массива.сделано через динамический массив! поставь наилучшее решение! ) var a: array of integer; n,i,max,min: integer; begin readln(n); setlength(a,n); for i: =0 to length(a) do readln(a[i]); max: =a[0]; for i: =0 to length(a) do if a[i]> max then max: =a[i]; min: =a[0]; for i: =0 to length(a) do if a[i]< min then min: =a[i]; writeln; writeln(max-min); readln; end
PL/SQL is a modern, block-structured programming language. It provides several features that make developing powerful database applications very convenient. For example, PL/SQL provides procedural constructs, such as loops and conditional statements, that are not available in standard SQL.
You can directly enter SQL data manipulation language (DML) statements inside PL/SQL blocks, and you can use procedures supplied by Oracle to perform data definition language (DDL) statements.
PL/SQL code runs on the server, so using PL/SQL lets you centralize significant parts of your database applications for increased maintainability and security. It also enables you to achieve a significant reduction of network overhead in client/server applications.