A c++ program to validate user inpu

Assignment Help Basic Computer Science
Reference no: EM131023410

In this exercise, you use what you have learned about validating user input to answer Questions 1 - 3.

1. You plan to use the following statement in a C++ program to validate user input:while(inputString == "")What would your user enter to cause this test to be true ?

2. You plan to use the following statement in a C++ program to validate user input: while(userAnswer == "N" || userAnswer == "n")

What would a user enter to cause this test to be true ?

3. You plan to use the following statement in a C++ program to validate user input:while(userAnswer 10)What would a user enter to cause this test to be true ?

Reference no: EM131023410

Questions Cloud

What is the problem the study was conducted to resolve : What is the problem the study was conducted to resolve? Why is the problem important for health care administrators to study? Study purpose: What is the purpose of the study?
How many years will it take them to double their gdp : The GDP of the People's Republic of Banania grew 3.5% last year. Using the rule of 70 how many years will it take them to double their GDP
Problem regarding the high inflation rate : Suppose that a year after the investors purchase the bonds, the inflation rate turns out to be 6 percent, rather than the 2 percent that had been expected. Who gains and who loses from the unexpectedly high inflation rate?
What was the growth rate for real gdp : Find the GDP Deflator for 2000 and 2001 on a 100-point scale. Report your answers to two decimal places, if necessary - What was the growth rate for real GDP between 2000 and 2001?
A c++ program to validate user inpu : In this exercise, you use what you have learned about validating user input to answer Questions 1 - 3.1. You plan to use the following statement in a C++ program to validate user input:while(inputString == "")What would your user enter to cause this ..
Problem regarding the certificates of deposit : Frank has no pension but has saved a considerable amount, which he has invested in certificates of deposit (CDs) at his bank. Currently, Frank's CDs pay him interest of $2,300 per month.
Write a paper about introduction listing my goals : Write a paper about Introduction listing ‘'my Goals''. A clear and precise log of eating for three weeks. My goals achieved or not why not? Your four page paper.
Write visual logic code to convert fahrenheit to celsius : How do I write visual logic code to convert Fahrenheit to celsius?
Nominal interest rate of almost zero percent : During the 1990s, Japan experienced periods of deflation and low nominal interest rates that approached zero percent. Why would lenders of funds agree to a nominal interest rate of almost zero percent? (Hint: Were real interest rates in Japan also ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Who are the typical system stakeholders

Who are the typical system stakeholders

  Form of two arrays one contains the symbols

Let the input be in form of two arrays one contains the symbols (T and F) in order and other contains operators (&, | and ^}

  What you know about the three platform architectures

Based on what you know about the three platform architectures. iOS, Android, and Windows Phone 7, which one would you select to develop apps? Describe your answer.

  Financial budget would be created in what type of data file

A financial budget would be created in what type of data file?

  Create a name class composed of three string objects

Create a Name class composed of three String objects (for First, Middle, and Last). Provide methods and operators for comparing Names, reading and writing Names, and for allowing the retrieval and changing of the components of a Name.

  Algorithm class

I have 3 questions from my algorithm class need to be answerd. I need someone who knows about computer and algorithm. I have slides that you can finid example similar to the questions. please let me know.

  Study ai literature to find-task can be solved by computers

Study the AI literature to find whether or not the following tasks can presently be solved by computers. Give proper reference to support your answer.

  What were the data backup problems when petco used tapes

What were the data backup problems when Petco used tapes. What were the data backup problems when Petco used mirroring

  The result is in the domain n

Find the truth set for the following predicates: Hint: answer should be a { set } A) 8/x where x is an integer,the result is in the domain N

  What is it infrastructure

What is IT infrastructure and why it has become an important field of study?

  Use c++ write program that to factorial the prompted integer

use C++ write program that to factorial the prompted integer in the output

  Explain what is hadoop

Explain what is Hadoop, how its fit into the Data Warehouse creation/utilization concept, what advantages its bring over the earlier and more traditional DW back-end technologies, and any other material on these topic that you find interesting.

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