Skip to content

C# Fundamentals

Arrays, lists, objects, classes

Tasks
4
Duration
12 weeks
Language
C#

Materials

  1. Arrays and List
  2. Loops: for, while, foreach

Tasks

  1. Largest of three numbers 15 pts Three integers are given on one line. Print the largest of them.
  2. Reverse a string 15 pts Read one line of text and print it reversed.
  3. Count the vowels 20 pts Read one line of text (lowercase Latin letters only). Print the number of vowels (a, e, i, o, u).
  4. Sum of an array 20 pts The first line contains a number n. The second line contains n integers separated by spaces. Print their sum.