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

  Write a java program that will print the words hello world

Write a java program that will print the words Hello World

  Is the proposed technique a promising

Is the proposed technique a promising, practical approach which can be effectively implemented into an existing platform? Clearly explain your answer. What are the strengths and weaknesses (limitations) of this technique?

  It consultant

Choose a small local business and assume the role of an IT consultant for them. The business is growing and the owners have told you that they "want to stay relevant, technologically speaking." Consider what a small business might need, and explor..

  Infrastructure document and a revised project plan

This assignment consists of two (2) sections: an infrastructure document and a revised project plan. You must submit both sections as separate files for the completion of this assignment. Label each file name according to the section of the assign..

  The network administrator of lenix ventures

The network administrator of Lenix Ventures

  Virtualization simplifies the use of resources, isolates

Virtualization simplifies the use of resources, isolates users from one another, and supports replication and mobility, but exacts a price in terms of performance and cost. Analyze each one of these aspects for (i) memory virtualization, (ii) process..

  Communicate paradigms, processes of systems development

Construct written and visual representations of the analysis, design, implementation, and management of information technology systems based on the systems development life cycle.

  A paper three to four pages covers data warehouse

Subject background: Data Modeling. Need a paper three to four pages covers data warehouse - a subject-oriented, integrate, time-variant, and nonvolatile set of data that supports decision making. Within the paper an explanation of subject, int..

  Current design model of it

In the current design model of IT service provision at NSI, the service desk function is provided in-house by TAFE employees. Consider the option of outsourcing the service desk.

  Implement a personal scheduler windows application

Description: Implement a personal scheduler Windows application. The application should have the following features: Create a new Java Project named SchedulerApp. Add a new package named business.

  Write a program using a beginner c language

Write a program using a beginner C language which calculates the value of ? from the series ?=(4/1)-(4/3)+(4/5)-(4/7)+(4/9)-(4/11)+... Print a table that shows the value of ?

  Write a java code to check the triangle is valid or not

Write a Java code to check the triangle is valid or not, by inspecting it's sides.

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