+ 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
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?
+ 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 -----
0
look up some search. if you going to do it yourself sort values as you add.
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
0
please help