Hi guys could i get some help with this problem.
Write a program to verify if the following expression is true.x^2 - y^2 = (x + y) * (x - y)The program will do the following:
1. ask the user to enter the value of x and y;2. calculate the left member of the expression3. calculate the right member of the expression
4. check if the two values are equal.
This is what ive done so far but i dont know where to go from here.
#include "stdio.h"
void main () (
int x= , int y=
printf ("\n enter values of x and y\n");
int sum1 = x*x-y*y;
int sum2 = (x+y)*(x-y);
scanf("%d", &sum1); // read sum1
scanf("%d", $sum2); // read sum2
if sum1==sum2;
printf ("\n the two calues are equal \n");