Stránka: 1 z 1
| [ Príspevkov: 5 ] | |
Autor | Správa |
---|
Registrovaný: 12.01.17 Prihlásený: 19.01.17 Príspevky: 1 Témy: 1 | 1 |
Zdravím mám problém s týmito úlohami.. vie mi niekto vyriešiť.. poprípadne pomôcť ? vopred ďakujem 1.napíšte program ktorý vypíše prvých n členov Fibonacciho postupnosti 0,1,1,2,3,5,8,13,21...(kde ďalší člen je súčtom dvoch predchádzajúcich).načítajte cez Edit. 2.Napíšte program,ktorý vypýta od užívateľa tri čísla x,y,z a) vypočíta ich priemer b)vypíše najväčšie číslo c)vypíše najmenšie číslo d)zoradí ich podľa veľkosti
|
|
Registrovaný: 12.10.06 Prihlásený: 09.02.25 Príspevky: 20660 Témy: 79 | 79 Bydlisko: Banska Byst... |
ak si samostatne nespravil ani kusok, resp. sa ani nepokusil, tak necakaj ze tu za teba budeme riesit tvoje ulohy...vid pravidla.
_________________ Ryzen 7 3700X | SilentiumPC Fera 3 | Asrock X570M Pro4 | Kingston FURY 32GB DDR4 3600 MHz CL18 Beast Black | Gainward RTX4060 Ti Pegasus 8GB | Samsung 970evo Plus 250GB NVMe | Corsair MP510 1TB NVMe | Samsung 980 Pro 2TB NVMe | Corsair RM550x | 32" Samsung ViewFinity S60UA | 3x Noctua NF-S12B redux 1200 PWM Xiaomi 14T 256GB |
|
Registrovaný: 19.03.07 Prihlásený: 11.01.25 Príspevky: 7076 Témy: 85 | 85 Bydlisko: BA |
Ani len pokus sa zamysliet? Pogooglit?(lebo prisaham bohu ze ked napises 3 slova do googlu, tak ti vyhodi riesenie) 1. https://en.wikipedia.org/wiki/Fibonacci_number mas tam vzorec, inak to je spocitanie predchadzajucich 2 prvkov na vypocitanie nasledujuceho (hint: for-cyklus) 2. Porovnanie cislic, scitanie a delenie, ak ta nenaucili na matike, tak neviem co chces pri programovani robit. (hint: read(), readln())
_________________ Desktop: CPU AMD R7 1700x @ 3.85GHz | Cooling be quiet! Dark Rock Pro 4 | MB ASRock X470 Taichi Ult. | RAM 4x8GB DDR4 G-SKILL TridentZ RGB 3000 CL16-16-16-36 | VGA Powercolor VEGA56 + Raijintek Morpheus II | SSD Crucial MX300 525GB | HDD Seagate Ironwolf 3TB 5900rpm | PSU CORSAIR RM750X | MONITOR AOC Q3279VWFD8 | MOUSE HyperX Pulsefire FPS + Razer eXactMat | HyperX Alloy FPS Brown | HyperX Cloud | ARCH x64 & Notebook: DELL inspiron 7537 i7 4500U, 16GB RAM, nv750, FHD IPS,Crucial M4 128GB | ARCH x64 & Surface Go 8/128 & Mobil: LG v40 ThinQ (2018) & SBC: Raspberry pi 0 | 3B+ & Headphones: Senheiser HD58X | AKG K551 + detachable cable mod | Linsoul TIN T2 | KZ SZN |
|
Registrovaný: 15.06.14 Prihlásený: 09.02.25 Príspevky: 17969 Témy: 143 | 143 Bydlisko: Bratislava |
neivem kde by sa dalo v 2. pouzit read a readln ![:-)](https://www.pcforum.sk/images/smilies/smile04.gif) myslim ze nacitanie je riesenie cez edit alebo inputbox. a nasledne zistovanie sa riesi cez if podmienky
_________________ ITX >>> ATX |
|
Registrovaný: 19.03.07 Prihlásený: 11.01.25 Príspevky: 7076 Témy: 85 | 85 Bydlisko: BA |
Delphi, rovnako ako lazarus, ti umoznuje robit si konzolove applikacie. Samozrejme moze to urobit aj tak ako spominas ty. (a ked tak uvazujem, mozno aj musi, nakolko robia v delphi)
_________________ Desktop: CPU AMD R7 1700x @ 3.85GHz | Cooling be quiet! Dark Rock Pro 4 | MB ASRock X470 Taichi Ult. | RAM 4x8GB DDR4 G-SKILL TridentZ RGB 3000 CL16-16-16-36 | VGA Powercolor VEGA56 + Raijintek Morpheus II | SSD Crucial MX300 525GB | HDD Seagate Ironwolf 3TB 5900rpm | PSU CORSAIR RM750X | MONITOR AOC Q3279VWFD8 | MOUSE HyperX Pulsefire FPS + Razer eXactMat | HyperX Alloy FPS Brown | HyperX Cloud | ARCH x64 & Notebook: DELL inspiron 7537 i7 4500U, 16GB RAM, nv750, FHD IPS,Crucial M4 128GB | ARCH x64 & Surface Go 8/128 & Mobil: LG v40 ThinQ (2018) & SBC: Raspberry pi 0 | 3B+ & Headphones: Senheiser HD58X | AKG K551 + detachable cable mod | Linsoul TIN T2 | KZ SZN |
|
Stránka: 1 z 1
| [ Príspevkov: 5 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 4 | 1543 | 18.11.2006 13:30 p55p | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 8 | 1463 | 20.06.2009 20:22 SVD | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 4 | 909 | 28.02.2010 19:42 SVD | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 4 | 652 | 07.10.2018 19:08 peto145 | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 6 | 1212 | 02.12.2007 12:11 MANIAC | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 3 | 1161 | 11.05.2008 12:02 p360t | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 2 | 708 | 04.03.2009 19:29 BBUlet | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read_hot.gif) | v Delphi, Visual Basic | 21 | 1990 | 16.03.2010 17:05 zy-zy-zyrixi | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 2 | 926 | 18.06.2010 14:36 Manny | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 7 | 713 | 30.06.2010 12:08 Manny | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 2 | 752 | 07.11.2010 23:16 majso | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read_hot.gif) | v Delphi, Visual Basic | 15 | 2158 | 06.02.2010 13:04 Fico | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read_hot.gif) | v Delphi, Visual Basic | 17 | 1225 | 02.03.2013 10:18 expoox | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 1 | 847 | 10.09.2009 16:35 Fico | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 4 | 1163 | 07.01.2010 14:19 ha2 | ![V tomto fóre nie sú ďalšie neprečítané témy. V tomto fóre nie sú ďalšie neprečítané témy.](https://www.pcforum.sk/styles/white/imageset/topic_read.gif) | v Delphi, Visual Basic | 6 | 737 | 15.01.2010 21:42 vama |
|