Write a function that takes 2 inputs - A string and an
integer flag (Value can be 0 or 1)
• If the flag value is 'O' the function should return
all the characters at even place in the input string
• If the flag value is 'l'the function should return
all the characters at odd place in the input string
Answers
Answered by
1
Answer:
Function1("TRACXN",0)="RCN"
Function2("TRACXN",1)="TAX"
Similar questions
Math,
3 months ago
Art,
3 months ago
Computer Science,
3 months ago
Math,
8 months ago
History,
8 months ago