1.
If an 8-digit number is input through the keyboard, write a program to obtain the average of the all
even numbers. (3) Marks
2. Print this pattern on your console screen. (Using for Loop) (4) Marks
3. A country has four mobile phone network operators. Each mobile phone number has eight
digits. The first three digits identify the network operator: (5 Marks)
✔ 333 Ufore
✔ 345 Telenor
✔ 300 Jazz
✔ 321 Warid
Write C# Program, which reads 10 eight-digit mobile numbers and identify network and
save quantity network wise in an array.
4. Take string from user as input. This string can only have alphabets A-F. If any other characters are
included reject the string and end program. If the string is valid then output count of each
alphabet occurring in that string. Like,
Input : ACEAOB (8) Marks
Output: A(2) B(1) C(1) D(0) E(1) F(0)
Hint: using array