int main()
{
int i, j, r;
char name[256];
printf("plese enter name? ");
scanf("%d", &name);
printf("hello %d", name);
printf("plese enter tow numbers? ");
scanf("%d", &i);
scanf("%d", &j);
r = i+j;
printf("addition is %d", &r);
}
cout << "my text";
cin >> number1;
int main()
{
int i, j, r;
char name[256];
cout << "plese enter name? ";
cin >> name;
cout << "hello ";
cout << name;
cout << "plese enter tow numbers? "
cin >> x;
cin >> y;
r = x+y;
cout << "addition is ";
cout << y;
}
int main()
{
int i, j, r;
char name[256];
printf("plese enter name? ");
scanf("%s", name);
printf("hello %s", name);
printf("plese enter tow numbers? ");
scanf("%d", &i);
scanf("%d", &j);
r = i + j;
printf("addition is %d", r);
}
#include
using namesapce std;