View Single Post
Old 07-18-2016, 04:04 PM   #3
iCeCuBEz v2
XFD
FFR Veteran
 
iCeCuBEz v2's Avatar
 
Join Date: Mar 2008
Location: Connecticut
Age: 33
Posts: 4,924
Default Re: programming question

i replaced the int variables with char but still the only data the program accepts are numbers. The second I type a character the program crashes

and if I do input numbers as characters instead the program does execute however the final sorted and unsorted lists are represented as weird symbols.

I created my own program that sorts characters in order but I have to put in each letter individually. Is there a way so I could type the whole string of characters initially and then have it spit it out in order?
__________________
I bring my math homework to church. It helps me find a higher power.

Dennis, Nell, Edna, Leon, Nedra, Anita, Rolf, Nora, Alice, Carol, Leo, Jane, Reed, Dena, Dale, Basil, Rae, Penny, Lana, Dave, Denny, Lena, Ida, Bernadette, Ben, Ray, Lila, Nina, Jo, Ira, Mara, Sara, Mario, Jan, Ina, Lily, Arne, Bette, Dan, Reba, Diane, Lynn, Ed, Eva, Dana, Lynne, Pearl, Isabel, Ada, Ned, Dee, Rena, Joel, Lora, Cecil, Aaron, Flora, Tina, Arden, Noel, and Ellen sinned.
iCeCuBEz v2 is offline   Reply With Quote