Search:

Type: Posts; User: tosihiro2007

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,324

    Thank you very much for your help!!! I think I...

    Thank you very much for your help!!!
    I think I found errors...
    For the first one, there is no statement to exit the program and for the second one, there is "else if" instead of "if".
  2. Replies
    3
    Views
    1,324

    need help with finding errors

    //question 1
    int main()
    {
    int choice = -1, num1,num2,trials = 0;


    //give the user a max of five trials
    while((choice = -1) && trials <5)
    {
    printf("Enter a number : ");
Results 1 to 2 of 2