Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Question!


Name: fallah
Title:
  please answer this.
Question:
program Pembagian;
var 
   ang1  : integer;
   ang2  : integer;
   hasil : integer;
   
begin
    writeln('Aplikasi Pembagian');
    writeln('==================');
    
    ang1 := 100;
    ang2 := 5;
    
    hasil := ang1 / ang2;
    
    writeln(ang1,' / ', ang2, ' = ', hasil);
    writeln('==================');
end.



Error(s):

source.pas(14,19) Error: Incompatible types: got "Double" expected "SmallInt"
source.pas(18,4) Fatal: There were 1 errors compiling module, stopping
Error: /usr/bin/ppcx64 returned an error exitcode
Answers: