The document describes two programming problems. Problem 1 requires taking user input for the number of rows and two options to output a pattern of asterisks in different directions. Problem 2 takes user input for a maximum number or number of terms and displays a number sequence based on the user's option choice, such as even numbers, odd numbers, or numbers divisible by 3.
The document describes two programming problems. Problem 1 requires taking user input for the number of rows and two options to output a pattern of asterisks in different directions. Problem 2 takes user input for a maximum number or number of terms and displays a number sequence based on the user's option choice, such as even numbers, odd numbers, or numbers divisible by 3.
The document describes two programming problems. Problem 1 requires taking user input for the number of rows and two options to output a pattern of asterisks in different directions. Problem 2 takes user input for a maximum number or number of terms and displays a number sequence based on the user's option choice, such as even numbers, odd numbers, or numbers divisible by 3.
Design the flowchart and program of the following problem statement.
(Choose only one problem)
PROBLEM #1. The user will input an integer (as the number of row) and two options (option1 and option2) and will output the following depending on the row and options: (Note: two spaces between “*”)
** * * * * * * * * * * * * * PROBLEM #2. The user is required to input two integer value (max and num) and will display a number sequence depending on the following options: If the user chooses max, it will display the following series up to the max number (max) Option “A”: All even numbers and their total Option “B”: All odd numbers and their product Option “C”: All numbers divisible by 3 If the user chooses num, it will display the following series based on the number of terms (num) Option “A”: Fibonacci Series Option “B”: Numbers that are divisible by 4 Option “C”: Numbers that are divisible by 5