This paper presents a computational analysis on forced vibration and fluid-structure interaction in compressible flow regimes. A so-called staggered approach is pursued where the fluid and structure are integrated in time by distinct solvers. Their interaction is then taken into account by a coupling algorithm. The unsteady fluid motion is simulated by means of an explicit time-accurate solver. For the fluid-structure interaction problems which are considered here the effects due to the viscosity can be neglected. The fluid is hence modeled by the Euler equations for compressible inviscid flow. Unstructured grids are used to discretise the fluid domain. These grids are particularly suited to simulate unsteady flows over complex geometries by their capacity of being dynamically refined and derefined. Dynamic mesh adaptation is used to enhance the computational precision with minimal CPU and memory constraints. Fluid-structure interaction involves moving boundaries. Therefore the Arbitrary Lagrange Euler method (ALE-method) is adopted to solve the Euler equations on a moving domain. The deformation of the mesh is controlled by means of a spring analogy in conjunction with a boundary correction to circumvent the principle of Saint Venant. To take advantage of the differences between fluid and structure time scales, the fluid calculation is subcycled within the structural time step. Numerical results are presented for large rotation, pitching oscillation and aeroelastic motion of the NACA0012 airfoil. The boundary deformation is validated by comparing the numerical solution for a flat plate under supersonic flow with the analytical solution.