Question: 1. Write a C# program to print all odd numbers from 1 to an upper limit entered by the user using while loop. using do

1. Write a C# program to print all odd numbers from 1 to an upper limit entered by the user using while loop. using do while loop O using for loop Example: o Input upper limit to display odd numbers: 10 o Output all odd numbers between 1 to 10:1, 3, 5, 7,9 2. Write C# program to keep reading numbers (from the user), until the user enters -999. The program must find and print the average of all odd numbers entered Required knowledge Basic C# programming, If else, While loop Odd numbers Numbers that are not exactly divisible by 2 is called as Odd numbers. For example 1, 3, 5, 7, 9 are the first five odd numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
