Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
Shopaps
Group Title
Display the ASCII characters. (Implement in dowhile loop) with functions
 one year ago
 one year ago
Shopaps Group Title
Display the ASCII characters. (Implement in dowhile loop) with functions
 one year ago
 one year ago

This Question is Closed

annas Group TitleBest ResponseYou've already chosen the best response.1
can you show me what code you have done
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.1
and is it in C or java
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
help me please T_T
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.1
ok give me a min
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.1
do you want to print all characters ?
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
yah thats what our teachers said
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.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

annas Group TitleBest ResponseYou've already chosen the best response.1
its in while loop can you convert it in to do while() loop?
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
i dont know
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.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

annas Group TitleBest ResponseYou've already chosen the best response.1
understand???
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
ill try it in turbo c
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.1
yes try it. if an problem occurs tell me ok :)
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.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

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
bro, their is an error occur constant out of range in comparison in function what to do?
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
in this part "while(c<255);"
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.1
ok lemme see
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.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

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
your right i tryied lesser value it works..
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
thanks a lot bro got many more problems.. T___T
 one year ago

annas Group TitleBest ResponseYou've already chosen the best response.1
mention not i like to help :)
 one year ago

Shopaps Group TitleBest ResponseYou've already chosen the best response.0
ill post it
 one year ago
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
 Engagement 19 Mad Hatter
 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.