• Welcome to TUKE FÓRUM - Fórum pre študentov Technickej Univerzity v Košiciach.
 
Menu

Zobrazi prspevky

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Zobrazi prspevky Menu

Topics - kingushka

#1
Zostavte program pre výpočet a tlač hodnoty y=x/x-3 .hodnota x vystupuje z klavesnice. :)

program funkcia;
var
x:real;
y:real;
begin
write('zadaj x');
readln (x);
if (x <>3) then y=x/x-3;
writeln ('vysledna hodnota funkcie y',y:5:2);
readln;
end.