Answer:
#include <stdio.h>
int main()
{
float afTest1[5] = {90, 30, 25, 45, 55};
for (int i = 0; i < 5; i++) {
printf("%f ", afTest1[i]);
}
return 0;
}
Explanation:
Initialize the elements of the array as 90, 30, 25, 45, 55
Create a for loop that iterates through the array
Inside the loop, print each element using printf function
Answer:
#include <iostream>
using namespace std;
int main() {
int a[4][5];//declaring a matrix of 4 rows and 5 columns.
for(int i=0;i<4;i++)
{
for(int j=0;j<5;j++)
{
if(i==3)//initializing last row as 0.
{
a[i][j]=0;
}
else//initializing last row as 1.
{
a[i][j]=1;
}
}
}
for(int i=0;i<4;i++)
{
for(int j=0;j<5;j++)
cout<<a[i][j]<<" ";//printing the matrix.
cout<<endl;
}
return 0;
}
Output:-
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
0 0 0 0 0
Explanation:
I have created a matrix of size 4 rows and 5 columns.I have used for loops to fill the array.To fill the last row with 0 i have used if statement.else we are filling it with 1.
Answer:
B. Protection
Explanation:
It is the protection tab. We can protect a cell from being changed or altered by any other user of the excel sheet using the protection tab. We only need to select the cell, and right-click, Now choose the protection tab, which will be shown. And now select locked and click ok. This cell cannot then be changed by anyone else other than you. Hence, the correct option here is the protection tab.
I am.
Explanation
Characters
Answer:It is useful for staying organized.
Users can edit the rule description.
Users can move messages to folders.
It is divided into three template choices.
Explanation: