Answer:
#include <iostream>
using namespace std;
int main() {
cout<<"Printing by method 1"<<endl;
//using 1 output statement with one streaminsertion operator.
cout<<"1 2 3 4";
cout<<endl<<"Printing by method 2"<<endl;
//using 1 output statement with four stream insertion operator.
cout<<"1 "<<"2 "<<"3 "<<"4";
cout<<endl<<"Printing by method 3"<<endl;
//using four output statements.
cout<<"1 ";
cout<<"2 ";
cout<<"3 ";
cout<<"4 ";
return 0;
}
Output:-
Printing by method 1
1 2 3 4
Printing by method 2
1 2 3 4
Printing by method 3
1 2 3 4
Explanation:
The above code is as per the question given.All the three methods are implemented as per the question.
Answer:
Click FILE > Save, pick or browse to a folder, type a name for your document in the File name box, and click Save. Save your work as you go - hit Ctrl+S often.

Answer:
Here is the python code:
StartingSal = int(input("Enter the starting salary: "))
AnnualIncrease = (int(input("Enter the annual % increase: ")) / 100)
Years = int(input("Enter the number of years: "))
for count in range(1,Years+1):
print("Year ", count, " Salary: ", StartingSal*((1+AnnualIncrease)**(count-1)))
Explanation:
This program prompts the user to enter starting salary, percentage increase in salary per year and number of years.
The for loop has range function which is used to specify how many times the salaries are going to be calculated for the number of years entered. It starts from 1 and ends after Years+1 means one value more than the year to display 10 too when user inputs 10 days.
The year and corresponding salary is displayed in output. At every iteration the starting salary is multiplied by annual percentage increase input by user. Here count is used to count the number of salaries per year, count-1 means it will start from 30000.
Answer:
Network administrator use the open system interconnection model to isolate the network problem as, the network administrator can easily find the problem in the system.
Network administrator regularly depicts issues by the layer number and in many cases the network problem required the network administrator to isolate the issue in which layer the maximum number of issue occurred.
By using the OSI layer, we can easily add protocols to its higher to lower layers without any type of interruption.