Write program to prints question do you want to continue

Assignment Help Programming Languages
Reference no: EM1368523

Write a program that prints the question"do you want to continue?"and reads a user input. if the user input is"y", "yes", "ok", "sure", or "why not?" , print out "ok". if the user input is "n" or "no", then print out "terminateing ".otherwise, print "bad input". the case of the user input should not matter.

Reference no: EM1368523

Questions Cloud

Explain why identify theft is such large crime : Use Library and other resources for information about state legislature related to identity theft with implementation in 2010 and 2011. Why is identify theft such large crime?
How many fragments are generated in link that has mtu : How many fragments are generated? What are values in the various fields in IP datagrams generated realted to fragmentaion?
Can linear search algorithm be encoded using recursion : Determine the average amount of time people spend waiting for tables and provide examples from the "real world" of unsorted lists, sorted lists, indexed lists, lists that permit duplicate elements, and lists that do not permit duplicate elements
Explain advantages and disadvantages of just-in-time : Explain and Contrast the advantages and disadvantages of just-in-time learning and Evaluate whether or not this is a valid and worthwhile investment to help increase the productivity within an organization.
Write program to prints question do you want to continue : Write a program which prints question"do you want to continue?"and reads user input. if user input is"y", "yes", "ok", "sure", or "why not?" , print out "ok".
Question on increase real gdp : Assume that the MPC is .8 and that $10 trillion of real GDP is currently being demanded. The government wants to increase real GDP demanded to $11 trillion.
Explain why would a company use a bundled pricing strategy : Explain Why would a company use a bundled pricing strategy for its products and Why not just sell the items separately and charge a higher price?
Difference between long term and short term interest rates : In late June the Fed lowered its federal funds rate target from 1.25 percent to 1 percent. However between mid June and early August the yield on longer term 10 year Treasury notes rose from 3.1% to over 4.3%.
Define criterion for evaluating alternatives to cross river : Slower person dictates crossing time. Canoe is the only mode of transportation and can't be shuttled empty. Define criterion for evaluating the alternatives.

Reviews

Write a Review

Programming Languages Questions & Answers

  Explaining the situation in program

Which of the following best explains the situation after Line 1 has been executed?

  Create a project in xcode

Create a new project in XCode using the Mac OS X/Command Line Tool template

  Writing program of long term parking

Write an enitre program about the long term parking, and calculate the parking total fare.

  Write program to assist in monitoring gasoline supply

Write program to assist in monitoring gasoline supply in refinery storage tank. Your program must alert supervisor when supply of gasoline in the tank falls below 10% of the tank's

  Write program to display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Write program to compute diameter in centimeters

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

  Writing class containing two instance variables

Write class named ParkingMeter containing: two instance variables named timeLeft and maxTime of type int. Value of timeLeft must be initialized to 0.

  Write program to merge two files that contain polynomials

Write a program that merges two files that contain polynomials. To merge two files, the input files must be in sorted order.

  Solve the programming problem

Solve the programming problem

  Write program to accept name and score of all batsmen

Write a program to accept name and score of all batsmen of a team and print them in the given manner: INPUT:names[]={nam1,nam2,nam3,nam4,nam5,nam6} & scores[]={48,65,73,10,90,84}

  Void function to display in nicely formated way

Write a void function display_exer() that display in a nicely formated way the eat members of an exerclass object. Pass the object to the function by reference.

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

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