Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

code a sentinel controlled loop to repeatedly accept words from a use until they enter the word "exit"
Started by Th3n, Sep 02 2012 11:39 AM
sample run loop
2 replies to this topic
#1
Posted 02 September 2012 - 11:39 AM
a sample run is given below:
Enter a word (type exit to finish):
One
Enter a word (type exit to finish):
TWO
Enter a word (type exit to finish):
Three
Enter a word (type exit to finish):
exit
Total number of lower case letters = 6
Total number of lower case letters = 5
anyone can give me some advices or sample code???
i got no idea where should i start..
Enter a word (type exit to finish):
One
Enter a word (type exit to finish):
TWO
Enter a word (type exit to finish):
Three
Enter a word (type exit to finish):
exit
Total number of lower case letters = 6
Total number of lower case letters = 5
anyone can give me some advices or sample code???
i got no idea where should i start..
#2
Posted 02 September 2012 - 06:37 PM
This sounds like a homework assignment, so it would be great to see you doing your best to understand it yourself rather than anyone simply posting code up for you. Is there one specific part of it you aren't sure about that we could help with? Do you have any code written so far?

#3
Posted 02 September 2012 - 11:41 PM
Welcome to CodeCall!
Is it your homework? Well, I have an idea where you can start: 1) First learn how to create a java project in the IDE you are working with (NetBeans or Eclipse). 2) Create a 'Hello Java' program where you can take input a word from user and the program can print it.
Is it your homework? Well, I have an idea where you can start: 1) First learn how to create a java project in the IDE you are working with (NetBeans or Eclipse). 2) Create a 'Hello Java' program where you can take input a word from user and the program can print it.
Also tagged with one or more of these keywords: sample run, loop
Language Forums →
PHP →
Content and title won't show on certain page in WordpressStarted by Mello, 05 Jan 2016 ![]() |
|
![]() |
||
Language Forums →
C# →
Create Staircase with Nested LoopsStarted by StainedSilva, 12 Mar 2015 ![]() |
|
![]() |
||
Language Forums →
Other Languages →
Bash / Shell Scripting →
Here is a task... Find Nothing :PStarted by ShaunPrawn, 07 Aug 2014 ![]() |
|
![]() |
||
General Forums →
General Programming →
Trying to do a working loopStarted by Error, 23 Jun 2014 ![]() |
|
![]() |
||
Language Forums →
PHP →
Problem in displaying data inside table formatStarted by newphpcoder, 25 Jul 2013 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download