Tuesday

September 2, 2014

September 2, 2014

Posted by **Thomas** on Friday, July 12, 2013 at 10:53am.

c = toupper('a');___________

2.) Assume c is a char variable. What value does c hold after the following statement executes? (Type the answer without quotes.)

c = toupper('B');___________

3.) Assume c is a char variable. What value does c hold after the following statement executes? (Type the answer without quotes.)

c = tolower('7');___________

- Computers C++ (2) -
**Steve**, Friday, July 12, 2013 at 11:13amHave you actually read the description of toupper?

Converts c to its uppercase equivalent if c is a lowercase letter and has an uppercase equivalent. If no such conversion is possible, the value returned is c unchanged.

So, what do you think are the correct answers?

- Computers C++ (2) -
**Thomas**, Friday, July 12, 2013 at 11:16amThanks Steve! Is that I don't have a book, can't afford it too expensive.

You made it clear...

A, b, 7

- Computers C++ (2) -
**Steve**, Friday, July 12, 2013 at 11:20amtoupper('B')

is B a lower-case letter with an upper-case equivalent?

No. So, B is left unchanged. The answers are:

A,B,7

- Computers C++ (2) -
**Thomas**, Friday, July 12, 2013 at 11:21amOk... Thanks!

- Computers C++ (2) -
**Steve**, Friday, July 12, 2013 at 11:21amYou obviously have a computer. Just do a web search for "c++ toupper" and you can find documentation online.

If you are studying C++, you must surely have some kind of course materials.

These days there is a huge wealth of documentation online. Make us of it and life will be easier.

**Answer this Question**

**Related Questions**

accounting - On January 2, 2006, Grant Corporation leases an asset to Pippin ...

math help - Universal instruments found that the monthly demand for its new line...

Calculus - Universal instruments found that the monthly demand for its new line ...

Computers C++ - 1). After the assignment statement result = isspace('\t'); ...

Computers help pls - What is 9.9 + (11 % 8)? Write one line that creates a ...

computer science - Assume that BlogComment is a structured type with these ...

accounting - In addition, assume that Anheuser-Busch InBev sold 200 million ...

Algebra II - In an induction proof of the statement 4+7+10+...+(3n-1)=n(3n+5)/2 ...

sience C++ programing - could you please help me with this program even with one...

Calculus - For the parabola given by (y – 3)^2 = 8(x + 5), find the following: (...