subject

Write an application that accepts up to 20 strings, or fewer if the user enters the terminating value zzz. store each string in one of two lists—one list for short strings that are 10 characters or fewer and another list for long strings that are 11 characters or more. after data entry is complete, prompt the user to enter which type of string to display, and then output the correct list. for this exercise, you can assume that if the user does not request the list of short strings, the user wants the list of long strings. if a requested list has no strings, output the list is empty. prompt the user continuously until a sentinel value, zzz, is entered.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:30, ayoismeisjuam
What are compression artifacts? 1) visible defects in the picture caused by the nature of the compression algorithm. 2) numbers that tell a web server how much to compress a picture for faster transmission. 3) invisible defects in the picture preserved by lossless compression. 4) numbers that tell a photo editing program how much to compress a picture for faster transmission.
Answers: 3
image
Computers and Technology, 22.06.2019 09:40, cutybrain6054
Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later date and also make it available to her colleagues
Answers: 1
image
Computers and Technology, 23.06.2019 01:00, lusciousl
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan. in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan. out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
image
Computers and Technology, 25.06.2019 07:30, ineedhelp2285
In a single day more than blank people's lives are affected simply by driving a motor vehicle
Answers: 1
You know the right answer?
Write an application that accepts up to 20 strings, or fewer if the user enters the terminating valu...

Questions in other subjects:

Konu
Mathematics, 31.03.2021 21:00