48.2k views
4 votes
Write a function that receives a string containing a 16-bit binary integer. the function must return the string's integer value

User SMSM
by
8.3k points

1 Answer

4 votes
program z;
var
a: integer;
b: string;
begin

readln(b);
a:=strtoint(b)
writeln(a);

end.
User Bernard Banta
by
7.8k points

No related questions found