Search found 2 matches

by stack
Thu Aug 15, 2002 8:20 pm
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 38432

who can tell me, what wrong with my code?

program v10190;

var
n, a: double;

function isPow: boolean;
var
k: double;
begin
k := ln(n)/ln(a);

if abs(k-trunc(k)) < 1e-8 then
isPow := true
else
isPow := false;
end;

procedure solve;
begin
write(n:0:0);
while true do
begin
n := trunc(n/a);
write(' ', n:0:0);
if abs(n-1) < 1e-8 ...
by stack
Fri Jun 14, 2002 6:40 am
Forum: C++
Topic: Question about IBM VisualAge C++ \n
Replies: 1
Views: 2239

reply

you have used IBM VisualAge C++

but I also don't know how to edit in it and debug in it.

Go to advanced search