Answer:
1. cout << "Num: " << songNum << endl;
2. cout << songNum << endl;
3. cout << songNum <<" songs" << endl;
Explanation:
//Full Code
#include <iostream>
using namespace std;
int main ()
{
int songNum;
songNum = 5;
cout << "Num: " << songNum << endl;
cout << songNum << endl;
cout << songNum <<" songs" << endl;
return 0;
}
1. The error in the first cout statement is that variable songnum is not declared.
C++ is a case sensitive programme language; it treats upper case and lower case characters differently.
Variable songNum was declared; not songnum.
2. Cout us used to print a Variable that has already been declared.
The error arises in int songNum in the second cout statement.
3. When printing more than one variables or values, they must be separated with <<
Answer:
/* C Program to rotate matrix by 90 degrees */
#include<stdio.h>
int main()
{
int matrix[100][100];
int m,n,i,j;
printf("Enter row and columns of matrix: ");
scanf("%d%d",&m,&n);
/* Enter m*n array elements */
printf("Enter matrix elements: \n");
for(i=0;i<m;i++)
{
for(j=0;j<n;j++)
{
scanf("%d",&matrix[i][j]);
}
}
/* matrix after the 90 degrees rotation */
printf("Matrix after 90 degrees roration \n");
for(i=0;i<n;i++)
{
for(j=m-1;j>=0;j--)
{
printf("%d ",matrix[j][i]);
}
printf("\n");
}
return 0;
}
Answer:
1) For preparation of plan :
It is to gather the team and creating the timeline. Gathering the inputs for the plan and confirming the mission and vision then launching the strategy.
2) A mission would describe about the company and the specification of the company
A vision is the long term or future state of the organization to achieve in a time frame.
Both would include the OAS statements and strategic shifts.
3) The OAS and strategic shift would help to create a balanced score card that would help for data gathering and analysis
This would include the financial, customers goal, Process goals, people's goals etc.
4) To create and develop the plan's framework:
To set the objective for high level organizational goals
To measure the and accomplish the objectives
To take initiatives to achieve the objectives
Explanation:
I don’t know what you mean by that
Explanation:
150 divide by 150 and that how you do the is you what to divide together 15/ 150 you welcome have a good day is you need something else