Search:

Type: Posts; User: Eve Wein

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    4,694

    TQ! I think all of my issues are resolved now. :D

    TQ! I think all of my issues are resolved now. :D
  2. Replies
    3
    Views
    4,694

    Redundant output

    C program. IDE used is Xcode v12.2

    After typing the letter 'S' to show results, the program displays two outputs. But when entering the letters 'P' or 'R', the program displays normal output.
    ...
  3. Replies
    8
    Views
    5,367

    Thank you! The code worked perfectly!

    Thank you! The code worked perfectly!
  4. Replies
    8
    Views
    5,367

    Hi, what should I replace fflush(stdin) with?

    Hi, what should I replace fflush(stdin) with?
  5. Replies
    8
    Views
    5,367

    I solved it! It is by changing 'myread' into...

    I solved it! It is by changing 'myread' into 'scanf' though. And I have no idea why lol.
  6. Replies
    8
    Views
    5,367

    The full code is shown below #include...

    The full code is shown below



    #include <limits.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <string.h>
  7. Replies
    8
    Views
    5,367

    Weird 'Enter' key glitches

    C program. IDE used Xcode v12.2

    The problem I'm facing:

    I need to press the 'Enter' key twice after typing the letter 'P' if I want to output the next sentence. I'm pretty sure that...
  8. Maybe our IDEs are different, cause after...

    Maybe our IDEs are different, cause after applying your method to solve the 'Invalid input' prompt, my whole program just ended after inputting a letter. What should I do?
  9. Facing 2 problems in my C code: Prompt missing + Faulty scores output

    I have written a C program, two integers are randomly selected, the numbers are either added or subtracted to form an equation, and the player is required to solve the equation. This code is compiled...
  10. Replies
    3
    Views
    4,942

    Thank you! I think I got it!

    Thank you! I think I got it!
  11. Replies
    3
    Views
    4,942

    Repeat C program and output scores

    I have written a program in C language. The program is designed for primary school students in Grades 1-2. Two integers are randomly selected, the numbers are either added or subtracted to form an...
  12. Replies
    1
    Views
    5,602

    Simplifying fractions

    I have compiled a database for rational numbers. Integers are used to represent the numerator and denominator of rational numbers. Subtractions, additions, multiplications, and divisions can be ...
Results 1 to 12 of 13