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

  Executive committee for alleviating it complexity

You are a consultant brought in by the executive committee to make recommendations for alleviating the "IT complexity" concerns of the executives at the company.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Creating website-based sales system for retail firm

Assume that you have been hired to create website-based sales system for large international retail sales firm.

  Program to use next character to create and return operator

Convert the string of digits into an integer. Otherwise, use the next character to create and return an operator.

  Program to write variable declarations and function calls

Write a program whose main function is merely a collection of variable declarations and function calls. This program reads a text and outputs the letters, together with their counts.

  Program which calculate and displays fifteen percent tip

Write a program which calculate and displays a 15 percent tip when the price of a meal is input by the user. (Hint: the tip is computed by multiplying the price of the meal by 0.15.).

  Create nested menus interface for a check-in hotel

Create a nested menus interface for a check-in and check-out hotel reservation system that can be used internationally. Use numbers to select a menu item.

  Program to solve roots of quadratic equation

Write down a program which solves the roots of the quadratic equation of the given form:- ax 2 + bx + c = 0. Display the results on screen.

  Program to display weekly payroll report

Write down a program to display a weekly payroll report.

  Using the irvine32 library functions

Create 32 random points which have (x, y) co-ordinates

  Explaining the situation in program

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

  Program to multiply two integers

What occurs when you multiply two integers whose product is larger than largest int value? Try out example and report your findings.

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