#include<stdio.h>
#include<windows.h>
int main()
{
int a,b;
a=8;
b=7;
int sum;
sum=a+b;
//printf("%d",sum);
printf("result shown on the message box");
char result[100];
sprintf(result,"%d",sum);
MessageBox(0,result,"sum of two words",1);
system("pause");
return 0;
}
#include<windows.h>
int main()
{
int a,b;
a=8;
b=7;
int sum;
sum=a+b;
//printf("%d",sum);
printf("result shown on the message box");
char result[100];
sprintf(result,"%d",sum);
MessageBox(0,result,"sum of two words",1);
system("pause");
return 0;
}