#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  float a,b,obsah,obvod;
  printf("Zadej strany obdelnika:");
  scanf("%f %f",&a,&b);
  obsah = a*b;
  obvod = 2*(a+b);
  printf("Obsah je %f, obvod je %f.\n",obsah,obvod);
  system("PAUSE");	
  return 0;
}
