script
I have some variables
Ex:-
a=apple b=banana c=coconut
the script will ask the user to enter a character
how can I make the script print the value of the choosen variable ??
If he entered
a
it must print apple
if
b
it must print
banana
etc ...
and of course without using "if condition "
for every character
!homework
Стикер
need help
what does your bash script do? and what does it have to do with apples, coconuts and bananas?
I think he just looked for words to correspond with the letters a,b,c
Don't you think it's kind of rude to answer for other people? :D
No & I didn't answer for him.
If only there was a use case for this
Обсуждают сегодня