Write program to prompt user to enter string of caharacter

Assignment Help Programming Languages
Reference no: EM1356125

Q1) Write a program that prompts the user to enter a string of 87 characters the program should display the middle character in the string if there is an odd number characters in the string if the string is an even number of characters in the string the program should display the two characters.

Reference no: EM1356125

Questions Cloud

Illustrate what price should the firm charge in order to max : If the firm's price elasticity of demand is equal to -2 (or 2 in absolute terms) illustrate what price should the firm charge in order to maximize profits
Journal entries related to long term bonds : Prepare journal entries to record the following transactions related to long-term bonds of XYZ Co. On July 1, 2008 XYZ retired $150,000 of the bonds at 102 plus accrued interest. XYZ uses straight-line amortization.
Presumptive brain or physiological correlations : How can psychological needs influence behavior? If psychological needs have presumptive brain or physiological correlations, then are they still psychological needs? Why or why not?
Explain annualized returns problem : Explain Annualized Returns Problem and You are considering Miller-Moore Equine Enterprises (MMEE)
Write program to prompt user to enter string of caharacter : Write a program that prompts the user to enter a string of 87 characters the program should display the middle character in the string if there is an odd number characters in the string.
Journal entries for income-retained earnings : Prepare in general journal form the entry necessary to correct the books for the transaction in part 1 of this problem, assuming that the books have not been closed for the current year. Compute the net income to be reported each year 2007 through..
Determine dividend payout ratio : Earnings per share of common stock will immediately increase as a result of, An increase in the market price of a company's common stock will immediately affect its:
Explain the common training techniques for managers : Explain the common training techniques for managers going overseas. How should these vary as appropriate to the level of globalization of the firm?
Psychological methods and psychological skills : Discuss Vealey's distinction between psychological methods and psychological skills. What are the different categories of psychological skills?

Reviews

Write a Review

Programming Languages Questions & Answers

  Determining suitable parameters if pass-by-reference is used

Subprocedures in VBA utilize pass-by-reference. Which function or sub procedure alters its parameter?

  Writing code in client program to enter score

Write down code in a client program to perform the following: prompt user to enter score and set score data member for player1.

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  Show how the tree might be type-checked

Attempt to derive proof tree for the judgment Show how the tree might be type-checked

  Probability line is executed in nth iteration of for loop

What is the probability that line is executed during the nth iteration of the for loop? What is the exact expected number of executions of line?

  Application to inputs five numbers given between a range

Write an application that inputs five numbers, each between 10 and 100, inclusive. As each number is read, display it only if it's not a duplicate of a number already read.

  Describing program using suiatble printf command

Yyou have to describe all of this to user using suiatble printf() statements.

  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).

  Basics of hypertext markup language

The basics of Hypertext Markup Language and World Wide Web.

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Explain relationship between xbrl and semantic web

How do HTML 5, RDF (Resource Description Framework), and OWL (Web Ontology Language) relate to the semantic web? Explain the relationship between XBRL and the semantic web.

  Create the array to determine discount amount

Create the array (DISCOUNT-ARRAY) that will be used to determine discount company will give based on amount of an order.

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