Search:

Type: Posts; User: chelpplease

Search: Search took 0.00 seconds.

  1. Adak, if "exit" is entered I only want it to end,...

    Adak, if "exit" is entered I only want it to end, without printing everything in the while loop.
  2. Thank you, anduril. The strcmp but the only...

    Thank you, anduril.

    The strcmp but the only problem I still have is it is still printing everything inside the while loop before it exits.
  3. yes i just need it to end when "exit" is entered....

    yes i just need it to end when "exit" is entered. I have something seperate for invalid sequences. i just dont understand why my "&&" is working more as an OR operator than an AND operator. only one...
  4. int main(void){ char arrayDna[MAXSIZE]; ...

    int main(void){
    char arrayDna[MAXSIZE];
    while(arrayDna[0] != 'e' && arrayDna[1] != 'x' && arrayDna[2] != 'i' && arrayDna[3] != 't'){
    printf("Enter a DNA sequence consisting of A's,...
  5. search char array for specific characters and replace with another

    #include <stdio.h>
    #include <string.h>

    #define MAXSIZE 255
    void arrayRev(char arrayDna[]);
    int main(void){
    char arrayDna[MAXSIZE];
    while((arrayDna[0] != 'e') && (arrayDna[1] != 'x') &&...
Results 1 to 5 of 5