#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main()
{
float wynik,a,b,wynik2;
puts("wprowadz liczbe a i b");
scanf("%f", &a);
scanf("%f", &b);
wynik=(a+b)*(a-b);
wynik2=a*a-b*b;
if(fabs(wynik-wynik2)<1e-10)
{
printf("tozsamosc jest prawdziwa %f
", wynik);
}
else
{
printf("tozsamosc nie jest prawdziwa %f
", wynik );
}
return 0;
}