The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I been having problems with this lab, any help will be appreciated.
Please see attachment!
Lab Objective:  In this lab, students will create a C program that contains character handling library functions to manipulate characters. They will compile and debug their program using Visual Studio 2015.
Resources required:
Hardware: Â Xendesktop
Software: Visual Studio 2015
Problem Statement
Write a program that inputs a character from the keyboard and tests it with each of the functions (Fig. 8.1 Character-handling library (<ctype.h>) functions) in the character-handling library. The program should print the value returned by each function.
Programming Shell Template
Â
Instructions
Â
Â
Submission Instructions
Upload a .c file containing the C code for this program and a Word document explaining what functions you used and how they work in regards to the input entered. Use this naming convention to name your file:
LastName_Unit4_Assignment2.c 
Â
Â
Lab Objective: In this lab, students will create a C program that contains character handling
library functions to manipulate characters. They will compile and debug their program using
Visual Studio 2015.
Resources required:
Hardware: Xendesktop
Software: Visual Studio 2015
Problem Statement
Write a program that inputs a character from the keyboard and tests it with each of the functions
(Fig. 8.1 Character-handling library (<ctype.h>) functions) in the character-handling library.
The program should print the value returned by each function.
Programming Shell Template Instructions
1. Using the Xendesktop, open Visual Studio 2015. Create a new project and add a
new .c file to the project. Type the programming shell template as stated up above and
continue with the following steps below. Be sure to include comments throughout your
program for readability purposes.
2.
(Another library/header file): So far, you have only used stdio.h header file which
contains standard input/output functions such as printf() and scanf(). In this guided
exercise, you will be required to include another header file, ctype.h, which contains builtin character-handling functions. Go ahead and add it to the next line below the existing
stdio.h include statement as follows: 3. (Housekeeping): Declare the following variables in your program using appropriate
data type. When selecting a data type keep in mind the type of value you want to store, i.e., int, float, character. Also, be sure to use conventional naming standards for all
variable declarations c
4.
(Display Prompt): Write a printf() statement to ask user for the following message. 5. (Input): User either a scanf() statement or getchar() function to store the character the
user wishes to store in the computer’s memory.
6.
(Test isdigit( ) function): Now, use isdigit() function to test whether user has entered
a character or not as following: 7. (Test other functions likewise): Similarly, test any three from the following list of
functions using your own if statement. isblank() islower() isupper() tolower() toupper() isspace() iscntrl() ispunct() isprint() isgraph()
8.
(Output Screen) When you execute the program, it should be similar to the following: Submission Instructions
Upload a .c file containing the C code for this program and a Word document explaining what
functions you used and how they work in regards to the input entered. Use this naming
convention to name your file:
LastName_Unit4_Assignment2.c