Question: Pls Read this right and answer what is stated correctly This is a silly program to help you practice with combined assignment operators, such as
Pls Read this right and answer what is stated correctly 
This is a silly program to help you practice with combined assignment operators, such as +=. Use ONLY these types of operators as you manipulate the user's lucky number by always using the number 10. See output below for details.
Output:
Enter a lucky number (must be whole number) and I will manipulate it using my number: [assume user inputs 7]
Your lucky number + 10 equals 17 Now I will multiply the previous result by 10, which equals 170 Next I subtract the previous result by 10, which equals 160 Lastly, I divide the previous result by 10, which equals 16
Hints and Notes:
1) You must combine the Processing and Output areas. Otherwise, you would need way too many variables and you would ruin the purpose of this exercise.
THE ANSWER IS NOT
#include
using namespace std;
int main() { int your_lky; //my_fav is equal to 10 as given in quistion cout>your_lky; //take lucky num. your_lky+=10; //your_lky=your_lky+10 your_lky*=10; //your_lky=your_lky*10 your_lky-=10; //your_lky=your_lky-10 your_lky/=10; //your_lky=your_lky/10 cout
return 0; }
10. Combined Assignment Operators saved 15 points possible Reset to Starter Code This is a silly program to help you practice with combined assignment operators, such as +=. Use ONLY these types of operators as you manipulate the user's lucky number by always using the number 10. See output below for details. Output: (assunc user inputs 71 Enter a lucky number must be whole number and I will manipulate it using my number: Your lucky number | 10 equals 17 Now I will multiply the previous result by 10, which equals 170 Next I gubtract the previous result by 10, which equals 160 Lastly, I divide the previous result by 10, which equals 16 Hints and Notes: 1) You must combine the Processing and Output areas. Otherwise, you would need way too many variables and you would ruin the purpose of this exercise. Save Grading 3 Run Tests code.cpp i Full Screen New 1 Test Case 1 0/5 pts - Click for details NOT RUN Test Case 2 0/5 pts Click for details NOT RIM Test Case 3 0/5 pts - Click for details NOT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
