Welcome to Westonci.ca, the ultimate question and answer platform. Get expert answers to your questions quickly and accurately. Discover in-depth answers to your questions from a wide network of experts on our user-friendly Q&A platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

Write a pseudocode that receives a positive number from the user, and then,
starts printing and keep printing the word “CS” until the number of the printings matches the received number from the user.
b-) Write an algorithm for the same problem. c-) Draw a flowchart for the same problem.

Please help me

Sagot :

Algorithm, pseudocodes and flowcharts are used as prototypes for a complete program.

The pseudocode is as follows:

input n

for i = 1 to n

  print("CS")

The algorithm is as follows:

1. Begin

2. Input number

3. For 1 = 1 to number

3.1     Display "CS"

4. End For

5. Stop

The following explanation of  the pseudocode can be used for algorithms and flowcharts

This gets an integer input from the user (the integer represents the number of times to print "CS")

input n

This is repeated n times

for i = 1 to n

This prints "CS" in each iteration

  print("CS")

See attachment for flowchart

Read more about algorithm, pseudocodes and flowcharts at:

https://brainly.com/question/21172316

View image MrRoyal