Answer the 7 to 10 task

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 17E
icon
Related questions
Question

 

Answer the 7 to 10 task

 

Create a list with 5 items having 3 distinct data types:

-output the second element of the list

-output the last element of the list using

-negative index

-positive index

-len method

 

Task 2

-Create a list with 3 items

-add an item to the end of the list

-remove the first item of the list

-determine if an item exists in the list

-if it does, display its index

-if it does not, give user message

 

Task 3

-Create a list of doubles (the data type double, minimum 3 values)

-output the minimum value

-output the maximum value

 

Task 4

-Create an empty list

-Ask the user for any input 5 times

-Only add the input to the list if it does NOT already existTask 5

-Ask the user for input 3 times

-Convert the inputs into a tuple

-Output the tuple

 

Task 6

 

Ask the user for 3 inputs

    starting number

    ending number

    increment number

 

using for loop

    output each number from 0 to starting number

    output each number from 1 to starting number

    output each number from starting number to ending number

    output each number from starting number to ending number increasing by incremental number

 

 

Task 7

 

Using while loop, complete the four FOR loops above

Task 8

 

Continually ask the user for a number until they have inputted a value between the range of 50-75

Escape the loop and display a congrats message

 

 

Task 9

 

Count up from 1-20 by ones

Skip the numbers 6 and 13

 

 

Task 10

 

Count down from 60 to 12 by 3s

Skip the odd numbers

 

Expert Solution
steps

Step by step

Solved in 6 steps

Blurred answer
Knowledge Booster
Continuity plans
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning