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, 3 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 02 May 2017 My Price 9.00

Xendesktop

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

  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 built-in character-handling functions. Go ahead and add it to the next line below the existing stdio.h include statement as follows:

 

  1. (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 
  1. (Display Prompt): Write a printf() statement to ask user for the following message. 

 

  1. (Input):User either a scanf() statement or getchar() function to store the character the user wishes to store in the computer’s memory.
  2. (Test isdigit( ) function): Now, use isdigit() function to test whether user has entered a character or not as following:
  1. (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()
  1. (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 

 

 

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 (&lt;ctype.h&gt;) 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 

Answers

(11)
Status NEW Posted 02 May 2017 04:05 AM My Price 9.00

-----------

Not Rated(0)