
{"id":19027,"date":"2022-07-27T16:58:02","date_gmt":"2022-07-27T11:28:02","guid":{"rendered":"https:\/\/beautifulworknew.wordpress.com\/?p=19027"},"modified":"2022-07-27T16:58:02","modified_gmt":"2022-07-27T11:28:02","slug":"the-ascii-table-program","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2022\/07\/27\/the-ascii-table-program\/","title":{"rendered":"The ascii table program"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">$ls\nascii-table.c   avg-with-garbage.txt  env-var-set.c     functions_ver2.c  output.c\nascii-table.md  case-changer.c        exist.sh          mph-to-kph.c\navg.txt         env-var.c             functions_ver1.c  mph-to-kph_v2.c\n$cat ascii-table.c \n#include &lt;stdio.h&gt;\n\nint main(void)\n{\n    char c;\n    for (c = 65; c&lt;=90; c++)\n    {\n        printf(\"%c = %d    \", c, c); \/* upper case *\/\n        printf(\"%c = %d\\n\", c+32, c+32); \/* lower case *\/\n    }\n    return 0;\n}\n$gcc ascii-table.c -o ascii-table\n$.\/ascii-table \nA = 65    a = 97\nB = 66    b = 98\nC = 67    c = 99\nD = 68    d = 100\nE = 69    e = 101\nF = 70    f = 102\nG = 71    g = 103\nH = 72    h = 104\nI = 73    i = 105\nJ = 74    j = 106\nK = 75    k = 107\nL = 76    l = 108\nM = 77    m = 109\nN = 78    n = 110\nO = 79    o = 111\nP = 80    p = 112\nQ = 81    q = 113\nR = 82    r = 114\nS = 83    s = 115\nT = 84    t = 116\nU = 85    u = 117\nV = 86    v = 118\nW = 87    w = 119\nX = 88    x = 120\nY = 89    y = 121\nZ = 90    z = 122\n$\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$ls ascii-table.c avg-with-garbage.txt env-var-set.c functions_ver2.c output.c ascii-table.md case-changer.c exist.sh mph-to-kph.c avg.txt env-var.c functions_ver1.c mph-to-kph_v2.c $cat ascii-table.c #include &lt;stdio.h&gt; int main(void) { char c; for (c = 65; c&lt;=90; c++) { printf(&#8220;%c = %d &#8220;, c, c); \/* upper case *\/ printf(&#8220;%c = %d\\n&#8221;, c+32, c+32); \/* lower case *\/ } return 0; } $gcc ascii-table.c &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2022\/07\/27\/the-ascii-table-program\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The ascii table program&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/19027"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=19027"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/19027\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=19027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=19027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=19027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}