Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Shopaps

Display the ASCII characters. (Implement in do-while loop) with functions

  • one year ago
  • one year ago

  • This Question is Closed
  1. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    can you show me what code you have done

    • one year ago
  2. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    and is it in C or java

    • one year ago
  3. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    c

    • one year ago
  4. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    ok

    • one year ago
  5. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    help me please T_T

    • one year ago
  6. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    ok give me a min

    • one year ago
  7. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    do you want to print all characters ?

    • one year ago
  8. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    yah thats what our teachers said

    • one year ago
  9. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    T_T

    • one year ago
  10. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    #include<stdio.h> #include<conio.h> void main() { char c=0; while(c<255) printf("\n%d ascii value is %c",c,c); c=c+1; }

    • one year ago
  11. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    its in while loop can you convert it in to do while() loop?

    • one year ago
  12. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    i dont know

    • one year ago
  13. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    T_T

    • one year ago
  14. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    ok

    • one year ago
  15. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    #include<stdio.h> #include<conio.h> void main() { char c=0; do{ printf("\n%d ascii value is %c",c,c); c=c+1; }while(c<255); getch(); } //in function form: #include<stdio.h> #include<conio.h> void ascii(void){ //function char c=0; do{ printf("\n%d ascii value is %c",c,c); c=c+1; }while(c<255); } void main() { ascii(); getch(); }

    • one year ago
  16. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    understand???

    • one year ago
  17. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    ill try it in turbo c

    • one year ago
  18. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    yes try it. if an problem occurs tell me ok :)

    • one year ago
  19. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    this one is the proper answer to your question program with function + do_while loop //in function form: #include<stdio.h> #include<conio.h> void ascii(void){ //function char c=0; do{ printf("\n%d ascii value is %c",c,c); c=c+1; }while(c<255); } void main() { ascii(); getch(); }

    • one year ago
  20. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    bro, their is an error occur constant out of range in comparison in function what to do?

    • one year ago
  21. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    in this part "while(c<255);"

    • one year ago
  22. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    ok lemme see

    • one year ago
  23. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    oh its not error its a warning. but its ok program is working accurately. warning is because 255 is a huge number no worries its ok

    • one year ago
  24. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    your right i tryied lesser value it works..

    • one year ago
  25. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks a lot bro got many more problems.. T___T

    • one year ago
  26. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    mention not i like to help :)

    • one year ago
  27. Shopaps
    Best Response
    You've already chosen the best response.
    Medals 0

    ill post it

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.