anonymous
  • anonymous
Display the ASCII characters. (Implement in do-while loop) with functions
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
can you show me what code you have done
anonymous
  • anonymous
and is it in C or java
anonymous
  • anonymous
c

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
ok
anonymous
  • anonymous
help me please T_T
anonymous
  • anonymous
ok give me a min
anonymous
  • anonymous
do you want to print all characters ?
anonymous
  • anonymous
yah thats what our teachers said
anonymous
  • anonymous
T_T
anonymous
  • anonymous
#include #include void main() { char c=0; while(c<255) printf("\n%d ascii value is %c",c,c); c=c+1; }
anonymous
  • anonymous
its in while loop can you convert it in to do while() loop?
anonymous
  • anonymous
i dont know
anonymous
  • anonymous
T_T
anonymous
  • anonymous
ok
anonymous
  • anonymous
#include #include 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 #include 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(); }
anonymous
  • anonymous
understand???
anonymous
  • anonymous
ill try it in turbo c
anonymous
  • anonymous
yes try it. if an problem occurs tell me ok :)
anonymous
  • anonymous
this one is the proper answer to your question program with function + do_while loop //in function form: #include #include 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(); }
anonymous
  • anonymous
bro, their is an error occur constant out of range in comparison in function what to do?
anonymous
  • anonymous
in this part "while(c<255);"
anonymous
  • anonymous
ok lemme see
anonymous
  • anonymous
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
anonymous
  • anonymous
your right i tryied lesser value it works..
anonymous
  • anonymous
thanks a lot bro got many more problems.. T___T
anonymous
  • anonymous
mention not i like to help :)
anonymous
  • anonymous
ill post it

Looking for something else?

Not the answer you are looking for? Search for more explanations.