CS201 Assignment 2 Solution – Fall 2017 – 23-11-2017

CS201 Assignment 2 Solution – Due Date 23 – 11 – 2017

 

CS201 assignment 2 solution

 

Software allowed to develop Assignment

– Dev C++

Objectives:

To enable students to write, compile and execute a program in DevC++. Moreover to familiarize students with the concepts of:
• If else structure
• Loops
• Passing array to a function
• Multidimensional array declaration
• Multidimensional array manipulation

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.

 

CS201 Assignment 2 Statement

Write a program that will generate random numbers and that numbers will be stored in a two-dimensional array. Then display the generated values on the screen and then also print the even numbers from the generated array elements.

Task 1:

First of all, you are required to generate random numbers from 1 to 500. For this, you are required to create a function named as “generateArray. The generateArray will load two- dimensional array with random numbers from 1to 500. The size of the two-dimensional array will be 7*7.

Task 2:

Defined a function named as “showArray(), which will display the elements of the two- dimensional array on the screen.

Task 3:

The final task is to find the even numbers in this array and display it on the console. For this purpose create a function findEvenNumber().

 

 

You can Download CS201 Assignment 2 Solution file from the links given below:

 

Dowmload Source 1                                                          Download Source 2

 

 

CS201 assignment, CS201 assignment 2, CS201 assignment 2 2017, CS201 assignment 2 solution, CS201 assignment 2 solution 2017, CS201 assignment 2 2017, CS201 assignment solution, CS201 assignment solution 2017, Introduction to Programming, solution assignment CS201, solution assignment CS201, Introduction to Programming 2 solution fall 2017

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: