Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old May 8th, 2006, 9:47 AM   #1
lilmul123
Newbie
 
Join Date: Mar 2006
Posts: 19
Rep Power: 0 lilmul123 is on a distinguished road
How to go about starting this program?

Here's what I have to do. Can anyone give me an idea on what I should do to do this?

Write a program that counts the number of letters, digits (0-9), and common puncuation symbols entered by the user. Stop inputting when the user presses ENTER. Use a switch statement to categorize the characters into puncuation, digits, and letters. When the program ends, report the number of characters in each category. (If you like, simply assume that, if a character is not a digit or puncuation, it is a letter. Also, just use the most common puncuation symbols (. , ? ! : .
lilmul123 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:41 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC