Starting from:
$35

$29

Lab 1: Basic programming on Linux(Bubble sort) Solution

During the data structure class, you will be given some practice problems and homework that need C/C++ programming. In this assignment, you will practice simple programming problems using array, pointer, and dynamic allocation. In addition, you need to know a fundamental file I/O, and how to use command line arguments.



1-1 Bubble sort

Obtain 10 integer numbers from the file input, and perform bubble sort.

After bubble sort, you have to print the result in txt format.












Program name : StudentID.c/cpp

Input: 10 unsorted integer

Output: Sorted integer

More products