Program to find if number input by user is palindrome or not

Assignment Help Programming Languages
Reference no: EM13100121

Write down the program which uses the method called palindrome ( ) to find out if number input by user is a palindrome or not. For instance 1221 is palindrome as it can be read same way forwards and backwards. Numbers input can be between 2 - 6 digits long. Programme must be able to find out what length of digit is and therefore suitably find out whether or not it is palindrome. If number is 1 digit long or more that 6 digits, the program must display the error message and permit the user to enter number again. On one output dialog box, program must display length of the digits entered and whether or not it is palindrome.

Reference no: EM13100121

Questions Cloud

Discuss toyota current marketing strategy : What improvement initiatives are currently being implemented for Toyota since the recalls? What is Toyota's current marketing strategy?
Age distribution in united states : The following table gives the approximate age distribution in the United States from the 2000 census.
Probability for telecommunication problem : You are assigned to be part of a team of three analysts of a global management consulting company where of the entire work force of analysts. 55% have had no experience in telecommunications
Math sat scores for all women-normal distribution : The math SAT scores for all women are normally distributed with a mean of 496 and a standard deviation of 105.
Program to find if number input by user is palindrome or not : Write down the program which uses the method called palindrome ( ) to find out if number input by user is a palindrome or not. For instance 1221 is palindrome as it can be read same way forwards and backwards.
Relationship between learning objectives and training method : Explain the relationship between learning objectives and training methods.  What is the Difference between the Corporate Strategy and the Business Strategy in the Whole Foods Market?
Probability of tennis game : Dana and Cathy are playing tennis. The probability that Dana wins at least one out of two ames is 0.3. What is the probability that Dana wins at least one out of four?
What is the frequency of the sickle cell allele : XPA is a recessive DNA repair disorder that causes skin cancer with even the smallest exposure to sunlight. Heterozygotes (Xx) are carriers, but are not affected. In the U.S., 1/250,000 people have the disease. In Japan, 1 in 22,000 has the diseas..
Probability of white chip drawn before red : An urn contains w white chips, b black chips, and r red chips. The chips are drawn out at random, one at a time, with replacement. What is the probability that a white appears before a red?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to clear the screen and locate the cursor

Write a program that clears the screen, locates the cursor near the middle of the screen, prompts the user for two integers, adds the integers.

  How to update web pages using navy for unvisited link

The Marketing Director at Steel Solutions is unhappy that links on company Web page appear in blue. She has asked you to update Web pages to use navy for unvisited link.

  Determine total cost of order-display it in alert dialog box

After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.

  Parking garage program to permit user to enter type of car

Parking garage program to permit user to enter type of car in addition to number of hours in parking garage. Program can be use for any number of customers.

  Design bank account class with data members-member functions

Design the Bank Account class with suitable data members and member functions - think of attributes or features of a bank account - think of kind of data (and actions) you require to open account.

  Comparing running time of two algorithm

Which algorithm would you prefer on the basis of running time, suppose all other factors equal?

  Write a shell script to read students first names

Write a shell script that reads 5 students' first names, last names and grades and then it calculates the average, maximum and minimum grade.

  Find number values that are between given range

Suppose the values from aaa.txt have been loaded into array Bob: find out the number values in Bob that are between 0 and 4 (not inclusive).

  Explain about lexical analyzer

Explain about Lexical Analyzer

  Write looping structure pseudocode accepting employee data

Write looping structure pseudocode which prompts user for employee data; application continues to accept data for new employees until user enters 0 for ID number to indicate desire to quit.

  Design the array to do letter count for letters in alphabet

Design the array of 26 components to do letter count for 26 letters in alphabet and a variable for line count. (You may wish to call these variables letterCount and lineCount respectively.)

  Application development and programming languages

Compare and contrast object-oriented languages (Java, C++, C#, etc.) to imperative languages (C, Pascal, etc.) in terms of:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd