Given 1234
i=1
user num=4#assume positive
while (user-num>=i);
print(i)
i+=1
#include <iostream>
using namespace std;
int main()
{int userNum=0;
int i=0;
userNum=4; ##assume positive
i=1;
while (i <=userNum){
cout<<i>>" ";
i=i+1;
cout <<endl;
return0;
}
Answer:
Three ways to increase the value of variable are given below. To eleborate the answer, I am taking a variable x that need to be increase.
- x=x+1
- x++
- x+=1
Explanation:
There are three ways to increase the value of variable.
1. x= x+1
In this case, each time value of x (variable) is incremented and stored in that variable. This equation increase the value of x by 1 each time. For Example
if x=1
then in first iteration
x= x+1 = 2;
If we want to increase the value of x by more than 1, we can add that value with x, as x+2, x+3 and so on.
2. x++
This will increment the value of x by 1. If we use this equation multiple time in program, each time it will increase 1 in value of x.
3. x+=1
This also works same as equation 1. It will increment 1 in this form and can be changed with 2, 3 and so on.
Clicking a menu opens a drop-down list of commands and options. According to Merriam dictionary, menu is defined as a list of things that you can choose from ; especially computers or a list shown on a computer from which you make choices to control what the computer does.
Answer:
C. The copyright is classified differently.
Explanation:
Since it is a writing and not a business or a car brand or a computer company like that high stuff that is very important it wouldn't effect you since you are family and since he left you rights to the copyright you can re copyright it after it is expired with enough proof that he gave you rights.