Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
Assigning A-Z with 1-26 without having to assign every variable
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
denxerator
New Member
Join Date:
Oct 2012
Posts:
1
#1
Assigning A-Z with 1-26 without having to assign every variable
Oct 3 '12, 01:57 AM
Question answered, thanks!
Thank you!!!
Last edited by
denxerator
;
Oct 3 '12, 03:14 AM
.
Reason:
Question answered
zmbd
Recognized Expert
Moderator
Expert
Join Date:
Mar 2012
Posts:
5501
#2
Oct 3 '12, 02:32 AM
Asking for complete code is not normally allowed.
Homework question.
Please show your work
Comment
Post
Cancel
whodgson
Contributor
Join Date:
Jan 2007
Posts:
542
#3
Oct 3 '12, 02:46 AM
if this is homework please ignore.
this is a sloppy question so details are omitted.
make up your mind about upper or lower case!
Code:
a=char('a'- 86)//should print '1' b=char('b'- 86)//should print '2'
Comment
Post
Cancel
Rabbit
Recognized Expert
MVP
Join Date:
Jan 2007
Posts:
12517
#4
Oct 3 '12, 03:26 AM
This thread is being closed due to violation of forum guidelines.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment