473,788 Members | 2,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please do my homework

2 New Member
Sample program of the following:

Problem:

CountSpaces
CountVowels
CountConsonants
reverse All
reverse Word
UpperCase All inputed String
LowerCase all inputed String


Using JOptionPane on JCreatorPro.


ex:
method:
public int CountSpaces (String str)
public int CountVowels (String str)
public int CountConsonants (String str)
public String reverse All (String str)
public String reverse Word (String str)
public String UpperCase All inputed String (String str)
public String LowerCase all inputed String (String str)

Sample Output:

String name = "Hello World";

CountSpace = 1
CountVowels = 3
CountConsonant = 7
reverse all = dlroW olleH
reverse word = olleH dlroW
UpperCase = HELLO WORLD
LowerCase = hello world




PS: hope to have an immediate result within 5hours,.. go go go PRO programmers.. i bet you guys can answer this.. i have high expectations on you..
Oct 18 '07 #1
2 1659
r035198x
13,262 MVP
Sample program of the following:

Problem:

CountSpaces
CountVowels
CountConsonants
reverse All
reverse Word
UpperCase All inputed String
LowerCase all inputed String


Using JOptionPane on JCreatorPro.


ex:
method:
public int CountSpaces (String str)
public int CountVowels (String str)
public int CountConsonants (String str)
public String reverse All (String str)
public String reverse Word (String str)
public String UpperCase All inputed String (String str)
public String LowerCase all inputed String (String str)

Sample Output:

String name = "Hello World";

CountSpace = 1
CountVowels = 3
CountConsonant = 7
reverse all = dlroW olleH
reverse word = olleH dlroW
UpperCase = HELLO WORLD
LowerCase = hello world




PS: hope to have an immediate result within 5hours,.. go go go PRO programmers.. i bet you guys can answer this.. i have high expectations on you..
I'm flattered.
Oct 18 '07 #2
JosAH
11,448 Recognized Expert MVP
I changed the title to something more appropriate.

kind regards,

Jos
Oct 18 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2302
by: Rv5 | last post by:
I have an assignment due mid next week that I have completed. I was hoping someone could take a look at the code and tell me what they think of the style. Id like to know if this is good code that I can be proud of or if my technique still needs some work. What can be improved? I created an htm page that first lists the assignment, and under that is my code. I think the code is good, but Ive thought that before... ...
2
1245
by: Adrian | last post by:
Hi all, A while ago while I was doing a part time c++ course at uni and we where asked to write a code solution to a little problem. The idea being that you can type in either a name or a mark and return all results that match what you typed. The code had to include a doubly linked binary tree. (sorry dont have the original problem description to hand). My result is below, I know it is way over engineered for the problem at hand (but...
5
1305
by: bojiokia | last post by:
I have started school for just 3 weeks,and totally new to c++,what i learn is just cin n cout and i received this project, omg, i am totally lost in what the question wanted me to input? http://s22.yousendit.com/d.aspx?id=0FJE4MQAJUPW20FJCSFIEQ6VES Is thre any one who k help me with it? do email me at bb32_fong@yahoo.com.sg
14
1657
by: HP | last post by:
Hi All i have confussion regarding given problem please help me out 4. What happens with the following program: void main(){ myclass* pmc = new myclass; pmc = 0; delete pmc;}
1
9654
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
4
1541
by: n_ukharit | last post by:
i have an program but i don't know how to do it problem is enter a and z character and digits 0to9 using switch statement then display morsecode equivalent of character entered
6
1511
by: darren112 | last post by:
Hi Im new to python and I desperately need help with this task.... This is everything of what I need to do....... The program to be written in Python obviously...... The program should support brute-forcing of the authentication process for a Telnet server via a dictionary attack. The python program is required to take four parameters: a) the IP address of a Computer, b) the port number that the Telnet server is
4
2089
by: Kausar.Nazir | last post by:
Pronlem# 1: How can I Create a notepad file named number.txt which consists of int type numbers separated with new lines on your hard disk, a program which read the numbers form this file and show them to screen, also display the total numbers in files and largest and smallest numbers to the screen. Please guide me I will be very thank full to you. problem # 2: Write a simple structure named Students. This structure consists of three...
62
2732
by: vubaboota | last post by:
I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C Q1: Write a program using malloc function. In which you take input from user and allocate memory equal to square of this number. Which multiply numbers and draw a table in the following format? Hint: User enters 3 then program allocates equal to 9 integer memories. Output:1
19
1967
by: mohammaditraders | last post by:
a program which consists of a class named Student, the class should consists of three data members Name, Ob_marks, Total_marks and two member functions Cal_percentage() which calculate the percentage of the student by the formula (Ob_marks * 100 ) / Total_marks and Display() which show all information of the student. The class should also contain the default constructor which initializes all the data member of the class. In main program...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10113
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2896
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.