Programme Code : MCA
Course Code : MCS-011
| More

Year : 2012 Views: 1149 Submitted By : RADHA On 17th September, 2012

Do you have solution for this Question. If yes    I aslo want solution.


Question 1: Write a program to print the following pattern:

a) 1         b) 1

1 2               2 2

1 2 3            3 3 3

1 2 3 4         4 4 4 4

1 2 3 4 5      5 5 5 5 5

Question 2: Declare two arrays A and B, find

(i) A intersection B and (ii) A union B.

Question 3: Write a program to crypt its input according to a specified transformation scheme. The transformation scheme will consist of two strings: a string of characters and then a string of replacement characters. The idea is that your program replaces every instance of the ith character in the initial string with the (i+2) character (of English alphabets) in the replacement string. When no substitution is defined for a character, the program just passes it through to the output unchanged. Blank spaces and the other symbols remains the same. The program should inform the user of any errors in the transformation scheme. Your program should display the phrase before and after the substitutions have been made.

Question 4: Write an interactive program called “DISTANCE CONVERTER” that accepts the distance in millimetres / feet /

miles / yards / kilometres and displays its equivalent in metres.

Question 5: Write an interactive program to generate progress reports

for the students of class XII (Science group).


No Answer Found

Q Declare two arrays A and B, find (i) A intersection B and (ii) A union B.

sushant sadashiv belekar    12th October, 2012 Hits: 1545