Question: C# 1. Create a console application that displays all positive and odd values for a value of n. 2. Create a console application that displays
C#
1. Create a console application that displays all positive and odd values for a value of n.
2. Create a console application that displays all positive and even numbers from a to b by using a loop, as follows:
2 4 6 8 10
3. Create a console application that displays all positive integers that are multipes of tens and are between a and b by using a loop (as follows) if a is 1 and b is 99
10 20 30 40 50 60 70 80 90
4. Create a console application that displays all positive and odd numbers up to 20 excluding any number that is divisible by 3 using a loop as follows:
1 5 7 11 13 17 19
5. Create a console application that displays all the 2 digit integer squares by using a loop, as shown below:
6 25 36 49 64 81
6. Create a console application that displays all the numbers from a to with each numer doublwing the previous numbers:
1 2 4 8 16 32 64
7. Create a console application that displays a sequence of factorials from a to b as follows
1 2 6 24 120 720
8. Create a console application that displays Fibonacci numbers up to 30 by using loops
1 1 2 3 5 8 13 21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
