Векторная графика
coreldraw
ilustator
1)Вариант:
begin
var ar:=arrrandom(10, -5, 5);
//ar.Println;
end.
2)Вариант:
var
ar: array[1..10]of integer;
begin
for var i := 1 to 10 do ar[i] := random(-5, 5);
//for var i := 1 to 10 do write(ar[i],' ');
end.
#include<iostream>#include<conio.h>using namespace std;
int main(){float milkPrice,bredPrice,procent; cout<<"moloko = "; cin>>milkPrice; cout<<"\nxleb = "; cin>>bredPrice; cout<<"**********************************"<<endl; cout<<"podnyat ceny na "; cin>>procent; if (procent <= 0) { cout<<"plohoy procent"; _getch(); return 0; }else{ cout<<"stariye ceni:\nXLEb: "<<bredPrice<<" \nMoloco: "<<milkPrice<<endl; cout<<"**********************************"<<endl; cout<<"new ceni:\nXLEb: "<<(bredPrice*procent/100)+bredPrice<<" \nMoloco: "<<(milkPrice*procent/100)+milkPrice; } _getch();return 0;}