What is the logic of given code?
Answers
Answer:
where is the code
Explanation:
I'm not able to see
Answer:
Coding is really easy for me
Correct terminology used Declarations are made with data types create a file initial.py and write the below code. #import random module. import random. def point(): #random integer stored number = random.(1,100
This is apart of my working in progress code.
int main()
{
int H_Matrix[3][6]={{1,1,0,0,1,0},{1,0,0,1,0,1},{1,1,1,0,0,1}};
int i,j,msg_length,sum=0,k;
int message[10][10];
int rows=3,cols=6,r=0,r2,c;
int code[10][10]={0};
int temp[10][10]={0};
printf("enter the message length\n");
scanf("%d",&msg_length);
printf("enter the message in bits maximum 10 bits\n");
for(j=0;j<msg_length;j++)
{
scanf("%d",&message[0][j]);
}
// Please explain me how below code works
for(c=(cols-rows);c<cols;c++,r++)
{