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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:30, ayoismeisjuam
What are compression artifacts? 1) visible defects in the picture caused by the nature of the compression algorithm. 2) numbers that tell a web server how much to compress a picture for faster transmission. 3) invisible defects in the picture preserved by lossless compression. 4) numbers that tell a photo editing program how much to compress a picture for faster transmission.
Answers: 3
image
Computers and Technology, 23.06.2019 05:00, mariahchaparro08
Which best explains why a digital leader would join a society specializing in technology
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, Gearyjames8
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
image
Computers and Technology, 23.06.2019 20:40, aurikmah2005
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
You know the right answer?
Write a switch statement that checks origLetter. If origLetter is 'a' or 'A', assign greekLetter wit...

Questions in other subjects:

Konu
History, 13.05.2021 22:00