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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 22.06.2019 10:50
Using least squares fitting, you are to fit the data sets to the following models and solve for the parameters ai , where i is the index of the parameter. the input/output data for the systems are linked in the bblearn site. for each of the systems use matlab to plot the supplied data vs. the model fit on one plot. include your code in the solutions. (a) linear fit "lineardata.mat" y=a1x^3 + a2x^2 + a3x + a4 (b) plant fit "plantdata.mat g(s) = a1/(s + a2)
Answers: 1
question
Computers and Technology, 22.06.2019 19:40
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
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
Mathematics, 28.10.2019 19:31
question
Mathematics, 28.10.2019 19:31
question
Mathematics, 28.10.2019 19:31
Questions on the website: 13722363