subject

Find The Sum - Uncommon Alphabets - Uppercase Given two char arrays input1[] and input2[ ] which contains only upper case alphabets,
Step 1: Extract the alphabets which are present only in any one of the array.
(Uncommon alphabets)
Step 2: Get the ascii values of all the extracted alphabets.
Step 3: Calculate the sum of those ascii values, lets us call it as sum1 and calculate
single digit sum for sum1
ile keep adding the digits of sum1 until you arrive at a single digit.
Step 4: Return the single digit as output.
Note :
1. Array size ranges from 1 to 15.
2. All the array elements are upper case alphabets.
Example 1:
input1: ('A', 'B', 'C'}
input2: ('B', 'C')
output: 65 => 6 + 5 = 11
==> 1 + 1 = 2​

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
Which option marks all modification made within a document? review comment track changes balloons
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
What are some examples of what can be changed through options available in the font dialog box? check all that apply. font family italicizing bolding pasting drop shadow cutting character spacing special symbols
Answers: 2
You know the right answer?
Find The Sum - Uncommon Alphabets - Uppercase Given two char arrays input1[] and input2[ ] which c...
Questions
question
Mathematics, 11.02.2020 06:23
question
Mathematics, 11.02.2020 06:24
Questions on the website: 13722367