Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
Type your program source Select your Operating System click compile and download your executable file!
This is the C/C++ Online Compiler.
In online compilers (.net) you can find and use online many compilers ( GCC, MINGW, GFORTRAN, JAVA, GPC, FREEBASIC) for the mainstream languages that exist, you can search THE LINUX MANUAL (DEV MAN) PAGES, the JAVA & WIN32 API'S. Also, i have gathered some material to get you started with programming.
Latest User Submitted Question!

Name: morgan
Title:
  help to correct this work
Question:
program inheritances_ tax;
var F : text; inheritances price, proportional deduction ,tax base, tax : longint; exemptions : = word 
begin
assign (F,’C://documents/tax’)
reset(F);
whiles not eof do begin
inheritances price:=0;
proportional deduction;=0;
tax base:=0;
 tax:=0;
readln: (F giver receives, relationship, Residential Address , movable property, savings, debts and other fees )
if  relationship = 0 then do begin
if movable property>20000 then exemptions;=20000;
else exemptions :=movable property;
if saving >20000 then exemptions:=exemptions  20000;
else exemptions :=exemptions   savings;
proportional deduction :=( Residential Address- exemptions)/ inheritances price*debts;
tax base:= inheritances price- exemptions- proportional deduction;
if tax base <1 then :=0.07*tax base;
else if(tax base >1)and(tax base <2)then tax:=(tax base-1)*0.09 70000;
else if(tax base >2)and(tax base <5)then tax:=(tax base-2)*0.12 160000;
else if(tax base >5)and(tax base <7)then tax:=(tax base-5)*0.14 520000;
else if(tax base >7)and(tax base <10)then tax:=(tax base-7)*0.18 820000;
else if(tax base >10)and(tax base <20)then tax:=(tax base-10)*0.21 1360000;
else if(tax base >20)and(tax base <30)then tax:=(tax base-20)*0.25 3460000;
else if(tax base >30)and(tax base <40)then tax:=(tax base-30)*0.30 5960000;
else if(tax base >40)and(tax base <50)then tax:=(tax base-40)*0.35 8960000;
else if(tax base >50) then tax:= (tax base-50)*0.40  12460000;
end;
Answers: