Hi guys I need a help lyk I couldn't get an idea for my program which is to point the block number based on the input . Ly | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi guys I need a help lyk I couldn't get an idea for my program which is to point the block number based on the input . Ly

Hi guys I need a help lyk I couldn't get an idea for my program which is to point the block number based on the input . Lyk if we take an chess board we have 8 rows nd 8 coloums lyk wise we take 1 to 8 rows nd 1 to 8 coloums . There comes 8*8= 64 . There by I need a program that to get my output based on my input given example if I gave an input by row 3 and column 5 I I'll get output as 35 .. so plz help me in this task . 💝

11th Sep 2019, 11:49 AM
Hemanth Kommuri
Hemanth Kommuri - avatar
1 Answer
0
If we take a chess board. We have 8 rows nd 8 coloums right . So we get 8*8= 64 numbers in that block. Nd now coming to program output . If we give input as rows nd coloums lyk 3 rd row 2 nd coloum we get output as 11 . Nd lyk wise 4 th row Nd 5 th column mean we get output as 36 .
11th Sep 2019, 12:06 PM
Hemanth Kommuri
Hemanth Kommuri - avatar