Advertisement
obernardovieira

Calcular area de circulo

Nov 9th, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.07 KB | None | 0 0
  1. r = input('Introduza o raio: ');
  2. a = pi*r*r;
  3. fprintf('Area = %f\n', a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement