Answer to Question #15779 in C++ for Kavan
Write a program in C++ to read and print an given character ?
1
2012-10-03T08:42:31-0400
int main()
{
char c;
while(c=getchar()){
printf("%c",c);
}
return 0;
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment