[SOLVED] CSE341-Assignment Lab 05

30.00 $

Category:

Description

Rate this product

Task 01

Take your name as input in an array. Then your program will have to replace all the capital letters with the letter “A” and all the small letters with the letter “z”.

Sample Input:

Enter Name: Mason Mount

Output: Azzzz Azzzz

Task 02

Take 6 8-bit inputs from the user, store them in an array and print the sum of only the odd numbers

Sample Input:

Enter Six numbers: 1 2 3 4 5 6

Output:

Sum: 9

Task 03

Take an array of size 6, then populate the array with 8-bit values. Your program will then sort the array in decending order and print the elements as output.