Question: 6 Question 1 Using recursion, create a program that will read a number N and your name. Your Name will be displayed several times as
6 Question 1 Using recursion, create a program that will read a number N and your name. Your Name will be displayed several times as indicated by the value of the N. Display the even numbers from 1 to the N followed by your name as shown below. If N is a negative number, display an invalid message. Example output below: Example output 1: Enter the Number I Enter your Name Ahamed 2 @ Ahamed 4 @ Ahamed 6 @ Ahamed Example output 2: Enter a number Enter a string input Ali Number cannot be Negative. : 36 words English (Philippines) Focus
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
