Computers and Technology, 14.04.2020 23:29, MCMarioandLuigi
Două numere a și b sunt numite generatoare ale unui număr natural n dacă a∙b+[a/b]=n, unde s-a notat cu [c] partea întreagă a numărului real c.
Subprogramul generatoare are un singur parametru, n, prin care primește un număr natural (n apartine intervalului [2,109]). Subprogramul afișează pe ecran toate perechile distincte de numere naturale cu proprietatea că sunt generatoare ale lui n și că primul număr din pereche este par. Numerele din fiecare pereche sunt separate prin simbolul minus (-), iar perechile sunt separate prin câte un spațiu. Dacă nu există astfel de perechi, se afișează pe ecran mesajul "nu exista". Scrieți definiția completă a subprogramului.
Exemplu: dacă n=2020 se afișează pe ecran
2-1010 4-505 10-202 20-101 96-21 200-10 606-3 808-2 1010-1
Answers: 1
Computers and Technology, 21.06.2019 18:30, Svetakotok
Ineed on my history if anyone can check out the last few questions i posted and i will be posting !
Answers: 2
Computers and Technology, 21.06.2019 20:30, carter4026
Write 150 words on what kind of website would you like to make in the future? what sites would you like to model yours after?
Answers: 2
Computers and Technology, 22.06.2019 01:40, genyjoannerubiera
Kali, a python programmer, is using the turtle module to write the word “hello.” which code should she use to indicate the location to begin writing the word? a # pick up the turtle and move it to its starting location. b penup(-100, 200) goto() pendown() c penup() goto(-100, 200) pendown() d # pick up the turtle and move it to (-100, 200)
Answers: 2
Computers and Technology, 23.06.2019 02:30, jalaholmes2027
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
Două numere a și b sunt numite generatoare ale unui număr natural n dacă a∙b+[a/b]=n, unde s-a notat...
Mathematics, 27.06.2019 13:00
Social Studies, 27.06.2019 13:00
Mathematics, 27.06.2019 13:00
Mathematics, 27.06.2019 13:00
Mathematics, 27.06.2019 13:00
History, 27.06.2019 13:00
Geography, 27.06.2019 13:00