Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 439 Weeks Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Computer Science Posted 28 Apr 2017 My Price 3.00

Case Manipulator

Write a program with three functions: upper, lower, and reverse. The upper function should accept a pointer to a C-string as an argument. It should step through each character in the string, converting it to uppercase. The lower function, too, should accept a pointer to a C-string as an argument. It should step through each character in the string, converting it to lowercase. Like upper and lower, reverse should also accept a pointer to a string. As it steps through the string, it should test each character to determine whether it is upper- or lowercase. If a character is uppercase, it should be converted to lowercase. Likewise, if a character is lowercase, it should be converted to uppercase. Test the functions by asking for a string in function main, then passing it to them in the following order: reverse, lower, and upper.

Answers

(8)
Status NEW Posted 28 Apr 2017 04:04 PM My Price 3.00

-----------

Attachments

file 1493395603-Answer.docx preview (531 words )
W-----------rit-----------e a----------- pr-----------ogr-----------am -----------wit-----------h t-----------hre-----------e f-----------unc-----------tio-----------ns:----------- up-----------per-----------, l-----------owe-----------r, -----------and----------- re-----------ver-----------se.----------- Th-----------e u-----------ppe-----------r f-----------unc-----------tio-----------n s-----------hou-----------ld -----------acc-----------ept----------- a -----------poi-----------nte-----------r t-----------o a----------- C------------str-----------ing----------- as----------- an----------- ar-----------gum-----------ent-----------. I-----------t s-----------hou-----------ld -----------ste-----------p t-----------hro-----------ugh----------- ea-----------ch -----------cha-----------rac-----------ter----------- in----------- th-----------e s-----------tri-----------ng,----------- co-----------nve-----------rti-----------ng -----------it -----------to -----------upp-----------erc-----------ase-----------. T-----------he -----------low-----------er -----------fun-----------cti-----------on,----------- to-----------o, -----------sho-----------uld----------- ac-----------cep-----------t a----------- po-----------int-----------er -----------to -----------a C------------st-----------rin-----------g a-----------s a-----------n a-----------rgu-----------men-----------t. -----------It -----------sho-----------uld----------- st-----------ep -----------thr-----------oug-----------h e-----------ach----------- ch-----------ara-----------cte-----------r i-----------n t-----------he -----------str-----------ing-----------, c-----------onv-----------ert-----------ing----------- it----------- to----------- lo-----------wer-----------cas-----------e. -----------Lik-----------e u-----------ppe-----------r a-----------nd -----------low-----------er,----------- re-----------ver-----------se -----------sho-----------uld----------- al-----------so -----------acc-----------ept-----------
Not Rated(0)