473,386 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

hi guyz can you help me with this output and how to create the inputs?

PARSING MATCHING using Strings

/------------------------------------------------------------------/
Sample Output 1: Sample Output 2:

Enter a String: ( ) Enter a String: ( ( ) )( )

counter = 0 counter = 0
Valid Matching/s Valid Matching/s

Sample Output 3: Sample Output 4:

Enter a String: ((aa Enter a String: ))kj

counter = 2 counter = -2
Sorry, Invalid Matching/s Sorry, Invalid Matching/s

Repeat the process? y for yes, n for no.
/----------------------------------------------------------------/
Finding ODD-EVEN using Array Pointers

Write a program that will ask user on how many numbers to be entered. Then, input the numbers display the entered numbers and display the even and odd numbers. Use pointers instead of arrays.

/--------------------------------------------------------/
Sample Output:

How many numbers to input? 5
1 2 3 4 5

Entered numbers are 5 4 3 2 1
Odd numbers are 1 3 5
Even numbers are 2 4

Repeat the process? y for yes, n for no.
/----------------------------------------------------------------/
Apr 27 '07 #1
1 1140
Savage
1,764 Expert 1GB
Right,and what have u tryed/created so far?

And ask a specific question so that we can help u.

Savage
Apr 27 '07 #2

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

Similar topics

2
by: Wayfarer | last post by:
Can anyone please tell me how to do this correctly? I'm trying to learn javascript and I've taken it as far as I can and I'm extremely frustrated! TIA Neill var L = prompt("Enter the...
1
by: Teis Draiby | last post by:
I am working on a Win32 program with an additional console window to output messages. I also want to type commands in the console window. Is there any common way to achieve that? For example how...
2
by: NotGiven | last post by:
I have a database result set with names, IDfield and a Y/N field. How do I create the radio buttons that can then be processed easily using an array (I assume) with an easy-to-loop-through...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: wawenka | last post by:
i am totally new to php and i am trying to create a web based inventory system any help on how i can go around this will be highly appreciated.
1
by: jayanthiveerabahu | last post by:
Hi, I am running a C program that parses an XML file and displays the parsed output. The compiler I use to run the program is BORLAND C (Version 3.1). My problrm is " the output window...
0
by: aboxylica | last post by:
i have a code which calculates a set of log values when two inputs are given..a set of sequence files and a set of matrix files. now what i should be doing is that my i/p sequence is a folder...
6
by: Chetanhl | last post by:
Can some1 tell me whats wrong in my code or plz provide your own solution so that i can learn from it.I got this question in a text whos result shows 0.0% accuracy in this code althought getting same...
6
by: fido19 | last post by:
Once upon a time, there lived a chimpanzee called Luycha Bandor (aka Playboy Chimp). Luycha was unhappily married to Bunty Mona, a short but cute little lady chimp. Luycha was tall and handsome –...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.