subject

Rapid va rog PLSSS 1. Se citeşte un număr natural n cu cel mult 9 cifre, dintre care măcar una este pară şi nenulă. Să se elimine cifrele impare şi apoi să se afişezenumărul. Ex: pentru n=2500369 se va afişa 2006 pentrun=1500369 se va afişa 6. pentru n=120059 se va afişa 200.
2.Se citesc mai multe numere naturale mai mici decât 10000, până la întâlnirea lui 0. Să se afişeze toate perechile de numere citite consecutiv cu proprietatea că primul număr se împarte exact la produsul cifrelor nenule ale celui de-al doilea număr. Ultimul număr, 0, nu se ia încalcul. Ex: pentru numerele 245, 51, 300, 35, 77, 17, 111, 42, 67, 0 se va afişa (245, 5), (51, 300), (300, 35), (77,17), (17, 111), (42, 67).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2ă—, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5ă— slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e não consigo tira-la no chorme
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. press enter after each favorite food so it appears on its own line (make certain you also press enter after the final food item). after the file is created, add two more foods you like that are not on the list (press enter after the final food item). view the list of foods to make certain the two items you added appear at the end of the list
Answers: 2
You know the right answer?
Rapid va rog PLSSS 1. Se citeşte un număr natural n cu cel mult 9 cifre, dintre care măcar una est...
Questions
question
Mathematics, 01.04.2021 15:40
question
Mathematics, 01.04.2021 15:40