clc //initialisation of variables V= 4000 //ft^3 W= 64 //lb w= 62.4 //lbf/ft^3 //CALCULATIONS W1= W*V/2240 V1= W1*2240/w //RESULTS printf (' volume of the dispalcement in fresh water = %.f ft^3',V1)