#include <stdio.h>

int main() {
int x,y,z,r;
printf("enter x");
scanf("%d",&x);
printf("enter y");
scanf("%d",&y);
printf("enter z");
scanf("%d",&z);
r=(x+z)*3-4;
printf("r=%d/n",r);

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: