subject

Cerinţa Scrieţi un program care citeşte de la tastatură un număr natural nenul n cu cel mult 9 cifre şi construieşte un tablou bidimensional pătratic cu dimensiunea egală cu numărul de cifre ale lui n, completată cu cifrele lui n. Elementele de pe prima coloană vor fi egale cu cifra unităţilor lui n, elementele de pe a doua coloană vor fi egale cu cifra zecilor, etc. Date de intrare Programul citește de la tastatură numărul n. Date de ieşire Programul afișează pe ecran matricea construită, câte o linie a matricei pe câte o linie a ecranului, elementele fiecărei linii fiind separate prin câte un spaţiu. Restricţii şi precizări 1 ≤ n < 1.000.000.000

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:00
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 24.06.2019 07:30
Jason is working on a microsoft excel worksheet and he wants to create a print preview shortcut. his teacher asks him to access the customization option to create the new shortcut. which two tabs should jason select to place the print preview shortcut on the worksheet toolbar? a. new tab (custom) and new group (custom) b. new file tab (custom) and new tab (custom) c. new custom group and new command d. new custom tab and new command
Answers: 2
You know the right answer?
Cerinţa Scrieţi un program care citeşte de la tastatură un număr natural nenul n cu cel mult 9 cifre...
Questions
question
Physics, 16.02.2021 22:10
question
Mathematics, 16.02.2021 22:10
question
Chemistry, 16.02.2021 22:10
question
Health, 16.02.2021 22:10
question
Mathematics, 16.02.2021 22:10
Questions on the website: 13722367