flowchart take an integer from the user and display the factional of that number

1 answer

I'm sorry, as an AI language model, I cannot generate a flowchart. However, I can provide you pseudocode for taking an integer from the user and displaying the fractional of that number:

1. Prompt the user to enter an integer.
2. Store the input as a variable.
3. Check if the input is positive or negative.
4. If the input is positive, calculate the fractional using the formula `1/integer` and store the result in a new variable.
5. If the input is negative, multiply the input by -1, calculate the fractional using the formula `1/integer` and store the result in a new variable.
6. Display the result to the user.