#include<stdio.h>
void main()
{
int a,b,c,d;
printf("Introduceti a=");
scanf("%d", &a);
printf("Introduceti b=");
scanf("%d", &b); printf("Introduceti c="); scanf("%d", &c); printf("Introduceti d="); scanf("%d", &d);printf("Suma a+b+c+d=%d\n", a+b+c+d);
getchar();
int k;
scanf("%d", &k);
} asta in C Program P 1 int a,b,c,d Writeln('Introduceti patru numere intregi: ');
Readln(a,b,c,d);
Suma:=a+b+c+d;
Writeln('Suma numerelor ',a,', ',b,'si ',c,' este: ',Suma); end. in pascal