Answer:
hope this helps and do consider giving a brainliest to the ans if it helped.
Explanation:
//program to check if the entered grid is magic square or not
/**c++ standard libraries
*/
#include<bits/stdc++.h>
using namespace std;
/**function to check whether the entered grid is magic square or not
*/
int isMagicSquare(int arr[3][3]){
int i,j,sum=0,sum1=0,rsum,csum;
for(i=0;i<3;i++){
sum+=arr[i][i];
sum1+=arr[i][2-i];
}
if(sum!=sum1){
return 0;
}
for(i=0;i<3;i++){
rsum=0;
csum=0;
for(j=0;j<3;j++){
rsum+=arr[i][j];
csum+=arr[j][i];
}
if(sum!=rsum){
return 0;
}
if(sum!=csum){
return 0;
}
}
return 1;
}
/** main function to get user entries and
* call function
* and print output
*/
int main(){
int i,j,arr[3][3]={0};
for(i=0;i<3;i++){
for(j=0;j<3;j++){
cout<<"Enter the number for row "<<i<<" and column "<<j<<" : ";
cin>>arr[i][j];
}
}
int ret = isMagicSquare(arr);
if(ret==1){
cout<<"This is a Lo Shu magic square"<<endl;
}
else{
cout<<"This is not a Lo Shu magic square"<<endl;
}
return 0;
}
User 2.0 is most likely to: use the Internet for social connection.
<h3>What is User 2.0?</h3>
User 2.0 which is an aspect of Web 2.0 defines the latest form of the internet that allows users to interact with each other. This form of the internet is easy to use and requires participation by users.
So, a possible feature of User 2.0 will be the ability to use the internet for socialization.
Learn more about User 2.0 here:
brainly.com/question/3913924
Answer:
A register
Explanation:
Registers are small memory used to store data or values and supply them to the processor as and when needed. These register hold the data temporarily and hold small units of program instructions. So whenever the CPU wants to work on data they have to be made available through the registers. Even after a arithmetic operation the registers serve as buckets for holding the value.
There are different types of registers such as register A, B, C etc and these registers lie in close proximity to the CPU so that we could provide the data immediately and much faster when asked by the CPU.
Therefore we can say that registers are used to temporarily hold small units of program instructions and data immediately before, during, and after execution by the central processing unit (CPU).
The answer is C. The modem does not contain enough bandwidth to handle modern video streaming.
Excel is mainly graphing information, or putting it into tables- organizing data. So I'd say D.