prog.c:1:1: warning: data definition has no type or storage class
total=0
^~~~~
prog.c:1:1: warning: type defaults to ‘int’ in declaration of ‘total’ [-Wimplicit-int]
prog.c:2:1: error: expected ‘,’ or ‘;’ before ‘for’
for i range(1,101);
^~~
prog.c:3:6: error: expected identifier or ‘(’ before ‘if’
if i % 3 !=0 and i % 5 ! % >=6;
^~
prog.c:4:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘+=’ token
total += i
^~