subject

Pomógłbymi ktoś z takim zadaniem? C++

Stwórz tablicę dwuwymiarową nxn i wypełnij ją 1, a na przekątnych wpisz 0.
n podaje użytkownik z konsoli podczas uruchamiana programu.

Np. dla n =5 otrzymamy
0 1 1 1 0
1 0 1 0 1
1 1 0 1 1
1 0 1 0 1
0 1 1 1 0

Chodzi tutaj o metodę wskaźników, nie rozumiem i byłbym wdzięczny za pomoc

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, hannahliebl2000
What is the largest decimal number that can be represented by a binary number with 4 place values? (remember, each place in a binary number has a value of a power of 2, starting in the ones place with 20.)
Answers: 3
image
Computers and Technology, 22.06.2019 09:50, laurentsofia09
Assume that you have an sorted array of records. assume that the length of the array (n) is known. give two different methods to search for a specific value in this array. you can use english or pseudo-code for your algorithm. what is the time complexity for each algorithm and why?
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, shawn20034
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, juliajordan427
Best laptops for college [$100-$500 range]?
Answers: 2
You know the right answer?
Pomógłbymi ktoś z takim zadaniem? C++

Stwórz tablicę dwuwymiarową nxn i wypełnij ją 1, a...

Questions in other subjects:

Konu
Mathematics, 26.07.2021 18:00
Konu
Mathematics, 26.07.2021 18:00