Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 month ago

How to write a program that displays the alphabets by using the ASCII code values from 65 to 90?

Update:

C++ please

Update 2:

How would you write it with a while loop?

2 Answers

Relevance
  • Lv 7
    4 weeks ago

    if you cannot do at least that, you shouldn't be a programmer. that is a very basic thing, and proves you understand what was taught.

    if you don't, you should talk to your teacher. that is why you pay him.

  • 1 month ago

    In Python:

    for ascii in range(65, 91):

        print(ascii, chr(ascii))

    Pretty simple, huh?

Still have questions? Get your answers by asking now.