Write program to prints the question

Assignment Help Programming Languages
Reference no: EM1352358

Q1) 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: EM1352358

Questions Cloud

Matrix multiplication code with mpi : Matrix multiplication code with MPI. At the beginning of each of the programs, write names of group members in the comment line.
Explain what is a time-series forecasting model : Explain What is a time-series forecasting model and What is the difference between a causal model and a time-series model?
Special challenges in performance appraisals : What are the special challenges in each area and what would be the impacts on employees and employers if the challenges were not addressed?
Discuss possible indifference curve which could correspond : Graph the budget constraints facing each of the three families and discuss a possible indifference curve which could correspond to the choice each family makes.
Write program to prints the question : 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?".
Governing authority for regulating the financial reporting : In preparation for preparing the financial statements for Boonville Public Health Center, you need to review the financial reporting requirements for governmental and nonprofit organizations.
What is sustainable development : What is sustainable development? Why is it important? Provide examples of how architecture has been adapted to promote sustainable development.
Is politics in organizations legitimate : Communication, contributed, ineffective, differences and Ineffective communication is the fault of the sender. Do you agree or disagree?
Development of a healthy sexual relationship : Explain how the Internet, media, and peer groups have influenced the development of a healthy sexual relationship.

Reviews

Write a Review

Programming Languages Questions & Answers

  Designing class to denote person-s height

Design a class, PersonHeight, to denote the person's height. Our class will include the following members.

  Definition of function quadratic receives double parameters

Write down definition of function named quadratic which receives 3 double parameters a , b , c . If value of a is 0 then function prints the message "no solution for a=0"

  Creating a security policy by gathering information

Suppose mantle of a security consultant. You are asked to visit a client and gather information to develop a security policy for them.

  Create a multi-threaded competition

Create a multi-threaded competition in which opposing Robin Hoods will attack one another and try to take each other's gold coins.

  Applying constraints in program

You will require to set up constants in program for given: number of square feet per square yard.

  Program to display words in a list box sorted by number

Write a program to display the words in a list box sorted by the number of different vowels(a,e,i,o,u) in the word.

  Hubspot: inbound marketing and web 2.0

Hubspot: Inbound Marketing and Web 2.0

  Pseudocode of program that will prompt user for number

Write pseudocode and flowchart for a program which will prompt user for a number, prompt the user for an operator (+,-,*,/), prompt the user for another number.

  Recursive method to read in string of characters

Trying to write a recursive method that reads in a string of characters and checks to see if the first character is either a 'D' or and 'E', then is followed by a string of one or more 'F's.

  Calculating hit ratio for program having loops

Calculate hit ratio for program that loops 10 times from locations 0 - 64.

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Describe purpose of keyword super in programs

Describe purpose of keyword 'super' in programs

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