Feed Headline Animator

write a program in C to assign three values to three integer type variables r,n &b. Add variables r&n and multiply their sum to variable b

main ( )
{
int r,n, b;
clrscr();
r=2;
n=4;
b=6;
b *=r+n
printf(“Result =%d \n”,b);
getch();
}

Posted by: Wasim Javed

No comments:

Post a Comment