Computers & Internet Logo

Related Topics:

Posted on Oct 10, 2008

Write a complete program thats read the loops.

A.write a program that determines whether the three character are in alphabetic order or not.It returns true if the three arguments are in order or false otherwise.
b.write a complete program that reads three characters and calls the function inorder to report whether they are in alphabetic order,loops until reading"***".

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 25 Answers
  • Posted on Dec 14, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

Joined: Dec 14, 2008
Answers
25
Questions
0
Helped
5229
Points
27

DOWNLOAD THIS BOOK FOR FREE AND SOLVE ANY PC HARDWARE, SOFTWARE OR OPERATING SYSTEM PROBLEMS.


write a complete program thats read the loops. - 42b4719.jpg

DOWNLOAD NOW......

Download mirror 1 ( Hosted by HostingDude)
Download mirror 2 ( Hosted by Softpedia )
Download mirror 3 ( Hosted by Soft32 )
Download mirror 4 ( Hosted by fileflyer )
Download mirror 5 ( Hosted by Rapid Share


366

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How old is whirlpool stackable W/D Serial no.MA2408599

How to breakdown the age of your Whirlpool Appliance via the Serial Number:

  • 1st Alphabetical character: The Manufacturing Division Code
  • 2nd Alphabetical Character: The Year Manufactured (See table I provided Below)
  • 1st and 2nd numerical characters (digits): The week out of the year that the product was manufactured.
  • 3rd-7th numerical characters (digits): Order # this specific product was during that week out of the year.
**FOR EXAMPLE: the serial number of a Kenmore Dryer is as follows: MB1402320 which indicates that by looking at the charts; it was built in the 14th week of the year 1992.

Yours is as follows:

MA2408599- so by looking at the charts and tables- I located the year in correspondence with the 2nd letter in the serial number which is A.

The year for the Code Letter "A" is 1991.

By looking at the 1st and 2nd numbers in this serial number... which is 24- (MA2408599): I can then determine that this specific product was made the 24th week of the year 1991.

If you google the 24th week of the year 1991- I was able to determine that your specific product was manufactured and made sometime during the week of June 10th-June 16th which is the 24th week of the year in 1991.

So again- Your product was manufactured in June of 1991- Making your specific Serial Number/Product approximately 31 Years old!
whirlpool-undefined-undefined-0.png
0helpful
1answer

My current TV remote (Panasonic) has now been replaced but it doesn't work on my TV. Do I need to program it - if so how do you do that?

The last three digit to the replacement remote control seems to be different. You can make it sure, whether this work as your original one; by contacting the authorized service center for Panasonic. I thinks that this won't; as the memory to both the remote cotrol will be different programs. If you wish to get more details; check the sites linked here. It has set-up code list & set-up procedure to many popular brand remote controls. Common codes to check devices with different brand TVs are given, in the order of the device's brand name list in alphabetical order. Pull up older posts. Surf the site with patience.
http://electromedicals.blogspot.com/
http://remotesearch.blogspot.com/
http://electrohelponline.blogspot.com/
0helpful
1answer

Divide the word Dangerous into syllabes

(sounds like a school assignment to me) ;-)

-count (& save) the 3 characters (1st syllable).
-start at position 4 (3+1 chars) in the string.
-count (& save) the 3 characters (2nd syllable).
-start at position 7 (6+1 chars) in the string.
-count (& save) the 3 characters (3rd syllable).

Logic:

-Initialize syllable-counter (x) to 1, position-counter to 1 (z).
-Initialize syl(x) strings to Null, where x = 1 to 3.
-Assign "dangerous" to string variable.

z = 1
y = 1
x = 1
string = "DANGEROUS"

For x = 1 to 3 DO
*Comment. read 3 chars (in a loop), add them to Syl (x).
For y = 1 to 3 DO
read a char(y) from the string at position-counter(z)
syl(x) = syl(x) + char(y)
z = z + 1
END DO
END DO


NOTE: not 100%, but close.
6helpful
2answers

Legal characters

Basically the letters, number, and other characters that are on the keyboard. Not the ALT+ combinations. If you're pasting from a word processor, use the "Paste as plain text" option.
1helpful
1answer

Code P2187 on 2008 Suzuki Forenza

DTC P2187: Fuel Trim System Lean at Idle

Fuel Trim Description
The Engine Control Module (ECM) controls the air/fuel metering system in order to provide the best possible combination of driveability, fuel economy and emission control. Fuel delivery is controlled differently during Open and Closed Loop. During Open Loop, the ECM determines fuel delivery based on sensor signals without Heated Oxygen Sensor (HO2S) input. During Closed Loop, the HO2S inputs are added and used by the ECM to calculate short and long term fuel trim fuel delivery adjustments. If the HO2S indicate a lean condition, fuel trim values will be above 0%. If the Heated Oxygen Sensors (HO2S) indicate a rich condition, fuel trim values will be below 0%. Short term fuel trim values change rapidly in response to the HO2S signals. Long term fuel trim makes coarse adjustments in order to maintain an air/fuel ratio of 14.7 : 1.

This code can only set when the engine control is in Closed Loop. The engine must be fully warmed up.

This must be diagnosed using a scan tool that can read engine data in order to determine the actual cause of the problem. It can be caused by the following things:

> Vacuum leaks
> Malfunctioning, dirty, or skewed Mass Airflow Sensor (MAF)
> Malfunctioning or skewed Manifold Absolute Pressure Sensor (MAP)
> Dirty or sticking injectors
> Malfunctioning or improperly programmed Powertrain Control Module (PCM)
0helpful
1answer

How to convert infix to postfix using stacks in java programming?

u can try the follwing coding
import java.io.*;
import java.util.*;
//begin coding for the stack interface
interface Stack<E>
{
public boolean isEmpty();//tests is current stack is empty. Returns true if so, and false if not.
public E top() throws StackException;//retrieves value at the top of the stack. Stack cannot be empty.
public void push(E value) throws StackException;//pushes a value on the top of the stack.
public void pop() throws StackException;//removes a value from the top of the stack. Stack cannot be empty.
}//terminates coding of Stack interface

//begin coding for the objArrayStack class
class objArrayStack<E> implements Stack<E>
{
//constructor
public objArrayStack()
{
topValue=-1;
}//terminates constructor
public void push(E value)throws StackException
{
if(topValue<ArraySize-1)//currrent stack is not full
{
++topValue;
Info[topValue]=value;
}//terminates if
else //current stack is full
throw new StackException("Error: Overflow");
}//terminates push method
public void pop() throws StackException
{
if(!isEmpty())//current stack is not empty
--topValue;
else //stack is empty
throw new StackException("Error: Underflow");
}//terminates pop method
public boolean isEmpty()
{
return topValue==-1;
}//terminates isEmpty method
public E top() throws StackException
{
if(!isEmpty())//stack is not empty
return (E)Info[topValue];
else //stack is empty
throw new StackException("Error: Underflow");
}//terminates top method
//declare instance variables
final int ArraySize=10;
private Object Info[]=new Object[ArraySize];
private int topValue;

//begins coding for the StackException class
class StackException extends RuntimeException
{
//constructor
public StackException(String str)
{
super(str);
}//terminates text of constructor
}//terminates text of StackException class

//method to convert from infix to postfix notation
public static String InToPost(String infixString)
{
//operator stack initialized
objArrayStack<Character> operatorStack = new objArrayStack<Character>();
//postfix string initialized as empty
String postfixString = " ";
//scan infix string and take appropriate action
for(int index = 0; index < infixString.length(); ++index)
{
char chValue = infixString.charAt(index);
if(chValue == '(')
operatorStack.push('(');
else if(chValue == ')')
{
Character oper = operatorStack.top();
while(!(oper.equals('(')) && !(operatorStack.isEmpty()))
{
postfixString += oper.charValue();
operatorStack.pop();
oper = operatorStack.top();
}//end while loop
operatorStack.pop();
}//end else if
else if(chValue == '+' || chValue == '-')
{
if(operatorStack.isEmpty()) //operatorStack is empty
operatorStack.push(chValue);
else //current operatorStack is not empty
{
Character oper = operatorStack.top();
while(!(operatorStack.isEmpty() || oper.equals(new Character('(')) || oper.equals(new Character(')'))))
{
operatorStack.pop();
postfixString += oper.charValue();
}//ends while loop
operatorStack.push(chValue);
}//end else
}//end else if
else if(chValue == '*' || chValue == '/')
{
if(operatorStack.isEmpty())
operatorStack.push(chValue);
else
{
Character oper = operatorStack.top();
while(!oper.equals(new Character('+')) && !oper.equals(new Character('-')) && !operatorStack.isEmpty())
{
operatorStack.pop();
postfixString += oper.charValue();
}//end while loop
operatorStack.push(chValue);
}//end else
}//end else if
else
postfixString += chValue;
}//end for loop
while(!operatorStack.isEmpty())
{
Character oper = operatorStack.top();
if(!oper.equals(new Character('(')))
{
operatorStack.pop();
postfixString += oper.charValue();
}//end if
}//end while
return postfixString ;
}//terminates text of InToPost method

public static void main(String[]args)
{
objArrayStack mystack = new objArrayStack();
System.out.println("Enter a string");
Scanner scan = new Scanner(System.in);
scan.nextLine();
String str = scan.nextLine();
InToPost(str);
}//terminates text of main method
}//terminates text of objArrayStack class
1helpful
1answer
0helpful
1answer

I want code for a program in vb6.0

dim text as string
text="AbCd123" 'testing purposes
for i=1 to len(text)
select case asc(mid(text,i,1))
case is < 65:'a number
case 65 to 97: 'upper case
case is >97 : 'lower case
end select
next
0helpful
1answer

Help

This is from Memorex FAQs:
Some programs put the track number as the first 2 characters of the song title (file name) this will cause the player to put the songs in the same order as the CD (or album for those of us old folks). If you drag files onto the MP3 players you can arrange them in any order you wish in the file view of your windows computer. When you go through the songs on the MP3 player, they will be in alphabetic order based on the file name (song title usually). You can't change the player's settings to play in anything but alphabetical order. There is a work around: People can force the play list order by naming the songs with a numeric prefix (i.e. 01, 02 etc) so the alphabetic listing in the player will put them in the order you prefer.
0helpful
1answer

Help me javascript just mail me at [email protected] thanx

hello there!!!
First things First !
1) download the ultimate JAVA APL. run again.
O S
Not finding what you are looking for?

107 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...