You get a bonus - 1 coin for daily activity. Now you have 1 coin

5.practika Working with arrays and strings in Qt

Lecture



Objective: Learn how to work with arrays and strings in Qt.

The task:

  1. Enter an array of 10 elements;
  2. Sort array elements in ascending order;
  3. Count the sum of all items;
  4. Calculate the average of all items;
  5. Enter the array to provide through a text field, in one line. Each element is separated by a symbol;
  6. Print the result list.

Decision:

  5.practika Working with arrays and strings in Qt

created: 2016-01-17
updated: 2021-03-13
132576



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Cross platform programming

Terms: Cross platform programming