Find a creative way to use the word they entered

Assignment Help Computer Engineering
Reference no: EM132213399

Write a simple C++ program that pretends to have a conversation with the user.

Ask for three pieces of information, and find a creative way to use the word they entered in a response back to them.

Be careful of the type of the value you are expecting from the user.

For example:

//anything like [this] is entered by the user //anything like <this> is your program using the user's input. Hello, what is your name? [name] Why hello, <name>! Please to meet you! How old are you, [name]?

[age] Ahh, I remember being <age>. Good times. So, how are you feeling today? [mood] Hmmm, interesting. I'm feeling kind of <mood> myself. Goodbye, <name>!

Reference no: EM132213399

Questions Cloud

Find the first three positions of the string and in a string : Write a series of assignment statements (complete executable code) that find the first three positions of the string "and" in a string variable sentence.
Write a script that will take a vector as an input : Write a script that will take a vector as an input (the vector can be any size). Using a for loop, you must re-arrange the values of the vector.
Write your own simple shell : Write your own simple shell. Your shell should prompt the user for a command, run it, then prompt the user for their next command.
Write a shell script to ask the user to enter ten numbers : Write a shell script to ask the user to enter 10 numbers. Save these numbers in a file called numbers.
Find a creative way to use the word they entered : Ask for three pieces of information, and find a creative way to use the word they entered in a response back to them.
Write a short python program to generate a random point : Write a short Python program to generate a random point (x, y) uniformly distributed over an area of a circle with radius 1.
Write a shell script program that contains a function : This function can list all files of a particular type in the current directory and then copy them to a new director called MyFiles.
Write a short program that will prompt the user for a number : Write a short program that will Print out whether the number is a perfect square (the product of two equal integers)
Write a setter function that accepts a cstring and position : Write a setter function that accepts a cstring(pass by reference), position and character as parameters.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create a function that can normalize the input data by

Write a function that can find the numbers which are divisible by 7 but are not a multiple of 5.

  Evaluate the consequences of a poor hiring decision

Evaluate the consequences of a poor hiring decision. Propose steps that could be taken to prevent such bad decisions in the first place. Examine what an organization could possibly learn when a policy is implemented.

  Read a floating point number representing degrees celsius

Write a program that prints out the binary, octal, decimal, and hexadecimal representation (respectively) of all unsigned shorts (in order).

  Developing countermeasures against dos attacks

Explain whether the administrators of server systems still have to be concerned about, and take the further countermeasures against DoS attacks, if so, what kinds of attacks may still happen, and what measures can be taken in order to decrease the..

  Determine the long-run steady-state distribution

The first number in each state is the number of customers in the system and the second is the phase of service for the customer in service.

  Why a website would need to be redesigned

Why do you think it is important to always be planning the next site redesign for a company.

  Display the greatest digit in that big number

Write a C++ program that takes a big integer number (num) and displays the greatest digit in that big number (num).

  Analyze the encryption protocols used in wireless networks

Analyze the encryption protocols used in wireless networks today. Assess how current encryption protocols have addressed the weaknesses of WEP.

  How will you call this method for the circle reference

Now suppose Circle has a method Area() computing are of a circle, and Point does not have this method.

  Modify the rationalnumber class

Modify the RationalNumber class so that it implements the Comparable interface. To perform the comparison, compute an equivalent floating point value.

  Explain data link layer characteristics

Why is the Data Link layer considered to be the most unique layer amongst all the layers of the OSI Model.

  Why the performance is poorer than only running simulation

A student ran numerical simulation on a dual-core computer (3.2 GHz, 2MB Smartcache, 32GB RAM).

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