subject

Write a switch statement that checks origLetter. If origLetter is 'a' or 'A', assign greekLetter with 'Alpha'. If origLetter is 'b' or 'B', assign greekLetter with 'Beta'. For any other character, assign greekLetter with 'Unknown'.

function greekLetter = ConvertAlphabet(origLetter)

% Complete the switch statement to assign greekSymbol with 'Alpha',
% 'Beta', or 'Unknown' based on origLetter
switch ( origLetter )
case 'a'
greekLetter = 'Alpha';
otherwise
greekLetter = 'Unknown';
end
end

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
The gene form of a trait is called a(n) 
Answers: 2
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
You know the right answer?
Write a switch statement that checks origLetter. If origLetter is 'a' or 'A', assign greekLetter wit...
Questions
question
History, 20.10.2019 03:30
question
Computers and Technology, 20.10.2019 03:30
Questions on the website: 13722367