with all the programs i download from this site keep getting errors that the units not found. i declared the units dir in directory d:\fpc\..\units
but keep getting errors.
please help
{something goes wrong in this bit of the program i get een error}
assign(y,'y');
reset(y);
for r := 1 to aw do
for c := 1 to ad do
read(y, o[r,c]);
{i do not know what wrong here...}
but i have to look at the third becouse val1+val4+val8>=75 and val12+val3+val6+val9>=75 that my goal.
the basic of the program is that any values no matter wich or how many are >=75 in the table
then the will form a group thats has >=75 those groups combined that i want to see
for the input it has to be integer from 0 to 150 thats the max and then in the table of the 12 vars the value in the table must seach after numbers greater then 75 or eacual.
so in the output of the program on screen;
must look like this ;
Var val1, val2,val3,val4,val5,valetc,
val1a...
i want to make a table with 12 var but do not know how to begin. Can you help me how my body needs
i want the output to look like this
1 2 3 4 5 6 7 8 etc
1 2 3 etc
2 3 4
3 etc
4
5
6
7
etc
then i want to find the values with combined are over 75 something like this
if...
program zetels;
uses Wincrt;
var win,cda, pvda, sp: real;
begin
writeln ('cda');
readln(cda);
writeln('pvda');
readln(pvda);
writeln('sp');
readln(sp);
procedure coalitie;
begin
if cda+pvda+sp< 75 then
writeln('coalitienietmogelijk');
end;
begin
if (cda > pvda) and (cda > sp)
then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.