+ 2

A program that ask a user to type 10 integer of an array and integer v.the program must search if v is in array of 10 integers

anyone

1st Jun 2017, 8:26 AM
Joe Justin
Joe Justin - avatar
5 Respostas
+ 3
I would love to help you out but I don't understand what the program is supposed to do ?? can you please explain?
1st Jun 2017, 7:06 PM
Code Ninja
Code Ninja - avatar
+ 3
look buddy I am a python learner so maybe you will need to Google some words in my answer... 1. ask the user for 10 separate inputs or take single 10 digit input and split in 10 different numbers and put them all in a list(in python) {1234567890 Will become [1,2,3,4,5,6,7,8,9,0] } 2. Make a if statement like if 7 in [1,2,3,4,5,6,7,8,9,0] : print ( 'v') else: print (' blah blah blah...') ---- I am making it in python and will post it here once it is completed -----
12th Jun 2017, 7:16 AM
Code Ninja
Code Ninja - avatar
0
look up some search. if you going to do it yourself sort values as you add.
3rd Jun 2017, 12:47 AM
Nathaniel Richards
Nathaniel Richards - avatar
0
a program that ask a user to type 10 any numbers(integer) and an consonant 'v' that has already defined before... the program should search if value of 'v' is among the inserted.... the display the answee
11th Jun 2017, 5:53 PM
Joe Justin
Joe Justin - avatar
0
please help
11th Jun 2017, 5:54 PM
Joe Justin
Joe Justin - avatar