









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Kamilla Klonowska
4
Given a following sequence of numbers: 1, 4, 7, 10, 13, …, 3n + 1, where n is a positive integer. Design the algorithm. Write a pseudo-code. Translate a pseudo-code into a code. Try if the program works for the following input: n = 5 and n = 10.
Guess the number game Instructions