Create flowchart using Flowgorithm to represent the logic where the user inputs a number between 1 and 3 and displays the number with the appropriate two-letter ending (i.e. 1st, 2nd, 3rd). To display the output in Flowgorithm, you will need to display the value stored in the variable using an ampersand with the variable name and then include the two-letter text within quotation marks. You can use the AND operator to check the initial if() condition. Don't forget to declare your variables and use output statements to prompt the user to enter specific values prior to including an input statement. Be sure to print out an error message if the user inputs any value that is not between 1 and 5.

Respuesta :

Flowcharts are used to model an actual computer program.

How to create the flowchart?

To create the flowchart, we make use of shapes such as:

  • Oval for start and stop
  • Parallelogram for input and output
  • Rectangle for processing
  • Kite for making decision

The flowchart of the program

We start by creating the algorithm of the program.

This is done as follows:

  • Start
  • Input Num
  • If Num == 1, print "1st"
  • Else If Num == 2, print "2nd"
  • Else If Num == 3, print "3rd"
  • End

Next, we create the flowchart based on the above algorithm

See attachment for the flowchart

Read more about flowchart at:

https://brainly.com/question/16902516

#SPJ9

Ver imagen MrRoyal