-->

# CS201 Assignment No 02 Solution Fall 2016

### CS201 Assignment No 02 Fall 2016

Here You can download CS201 Assignment No 02 Solution - Discussion Due Date: 02 Dec 2016.

### CS201 Assignment No. 02

Q: Write a program that takes input of 10 integers into an array.
Give two options to the user:
1= copy odd numbers from the array to a new array (odd[] array) and sort “odd[]” array in ascending order

2= copy even numbers from the array to a new array (even[] array) and sort “even[]” array in ascending order

Q: Write a function that accept (odd[] or even[]) array and sort it
Use bubble sort technique to sort the given array
Display the sorted array.

Hint:: you can use 3 arrays like arry[], odd[], even[].

Sample output:

Taking input for array from user

Pass array to function and display sorted array

### CS201 Assignment Instructions

It should be clear that your assignment will not get any credit if:

• Assignment is submitted after due date.
• Submitted assignment does not open or file is corrupt.
• Assignment is copied (From internet/students).
Also Read: PM Laptop Scheme for Virtual University Students 2016-17

### CS201 Assignment Tools:

Software allowed to develop Assignment

- Dev C++

### CS201 Assignment Objectives:

To enable students to write, compile and execute a program in DevC++. Moreover to familiarize students with the concepts of:
• Array manipulation
• Array passing to functions
• Sorting Of Array (Bubble sort)

### CS201 Assignment Submission Instructions

You have to submit only.cpp file on the Assignments interface of CS201 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.

Also Read: HOW TO MAKE DATESHEET FOR EXAM at VU

The deadline to submit your CS201 assignment solution is 2nd December, 2016. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date.

#### CS201 Assignment No 02 Solution Fall 2016

Here is the Complete and Final Solution of CS201 Assignment No 02 for Virtual Students.

Solution Files Fulfills all the requirements...
• Array manipulation
• Array passing to functions
• Sorting Of Array (Bubble sort)