InterviewSolution
Saved Bookmarks
| 1. |
Write a program to demonstrate the use of the shorthand assignment operator use with scanner class |
|
Answer» Answer: #include #include void main() { INT a,b,c; clrscr(); cout<<"Enter Value For a,b,c "< cin>>a>>b>>c; a += b*c+a; // Shorthand assignment OPERATOR is USED here. cout<<"a = "< getch(); } hope it helps you .... marks as BRAINLIEST if it is helpful |
|