Details of this Paper

visual logic Design a program that displays the sum of the integer numeric values stored in two arrays

Description

solution.


Question

Design a program that displays the sum of the integer numeric values stored in two arrays, in a tabular format. The design defines two arrays of the same size (each array has 10 elements). One array stores odd integer numeric values (the first element of the array (at index 0) stores the value 1, ? etc). Another array stores even integer numeric values (the first element of the array (at index 0) stores the value 2, ?, etc).;Program Requirements: ?;The program displays a title (appropriate for the case being solved). ? The program displays on a single line three headings (i.e., labels) ? to identify the corresponding odd, even, and sum values. ? The program displays the triplets (i.e., the three numeric values ? odd, even, and sum), one triplet per line of output, for a total of 10 output lines. ? The indices of the arrays are zero-based. ? The arrays are dimensioned to contain 10 elements (not 11 eleven elements ? NOTE: In Visual Logic if the size of the array is set to 10, the array will have a capacity to store 11 elements). ? The program uses modules.

 

Paper#64296 | Written in 22-Dec-2015

Price : $18
SiteLock