ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 08 May 2017 My Price 11.00

C++ console program

C++ console program. The current code is working with exception to one item. When testing, if an 'upper case' capital alpha character is used, it errors out because the  'upper case' letter is not found in the array matrix. I am looking for a solution that does not included adding the entire alphabet, in uppercase, to the matrix. Please do not change my existing code, with exception to the edits or changes to fix the issue. Please provide the edited source code as a solution or answer to this question. The following are test sequences to use for testing: 

1)  {#&@ = nice

2)  [@@, !, (#<@ ][ = meet at five pm

3) Y$% -!<@ ${&@ !)!#{ ($#+@* [/ ]+!{: = You have once again foiled my plans

In test #3, please note that the 'Y' will cause an error during testing because the upper case letter is not recognized in the array matrix. The solution for this is what I am looking for, with out changing the rest of my existing code. #1 and #2 works properly.

{\rtf1\ansi\ansicpg1252\cocoartf1504{\fonttbl\f0\fswiss\fcharset0 Helvetica;}{\colortbl;\red255\green255\blue255;\red44\green44\blue44;\red240\green240\blue240;\red255\green255\blue255;}{\*\expandedcolortbl;\csgray\c100000;\cssrgb\c22745\c22745\c22745;\cssrgb\c95294\c95294\c95294;\csgray\c100000;}\margl1440\margr1440\vieww10800\viewh8400\viewkind0\deftab720\pard\pardeftab720\partightenfactor0\f0\fs28 \cf2 \cb3 \expnd0\expndtw0\kerning0Input:\\cb4 \\cb3 1) \{#&@\cb4 \\cb3 2)\b [@@, !, (#<@ ][\b0 \cb4 \\cb3 3)\b Y$% -!<@ $\{&@ !)!#\{ ($#+@* [/ ]+!\{:\b0 \cb4 \\\cb3 Output:\\cb4 \\cb3 1) nice\cb4 \\cb3 2) meet at five pm\cb4 \\cb3 3) You have once again foiled my plans\}

Attachments:

Answers

(11)
Status NEW Posted 08 May 2017 08:05 AM My Price 11.00

-----------

Not Rated(0)