Create a program that asks the user for their name

Assignment Help Programming Languages
Reference no: EM132130522

Task: Silly Name Tester

Overview

Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just a sequence of actions. In this case we will create a program that asks the user for their name, and then gives them a custom message.

Instructions

Follow the instructions in the week 3 videos to build a program that includes the following features:

Has a menu to allow users to select and run multiple different actions.

Allow the user to enter a name and get custom messages based upon the name entered. Use the names of your friends and tutor, and write a custom message for each.
Allow the user to play a guess that number game, guessing a value between 1 and 100.

In this code make sure that you demonstrate the use of:

An if statement with else branch, and nested if else if structures.
A switch/case statement to run actions based on the menu response. A while loop to control repetitions in the guess that number game.
A do while loop to repeat the menu until the user quits.

Make sure to use your read_string, read_double, and read_integer functions for all low level user input.

Once you have this working, download the resources and answer the questions provided. Then grab a screenshot of your program running and upload to OnTrack.

Reference no: EM132130522

Questions Cloud

What your topic is for your white paper : What your topic is for your white paper? Umuc e-Learning management system What the "previous approaches" are for your topic? You can write one sentence.
Identify three different schools of buddhism : Identify three different schools of Buddhism. How are these schools similar in their beliefs and practices? How do they differ? Cite supporting information.
Does the source cite other scholarly references : Scholarly sources should be objective, up to date, and peer reviewed; therefore, sources such as blogs or general dot com websites are not as credible.
Why you think texans should support your positions : Imagine you are a member of the U.S. House of Representatives in 1966, representing citizens in the Dallas area.
Create a program that asks the user for their name : SIT102 Introduction to Programming - deakin university - In this case we will create a program that asks the user for their name, and then gives them a custom
Describe how these themes are developed in the scenes : Describe how these themes are developed in the scenes that comprise each section. Include descriptions of costuming, lighting, music.
How did some of these issues cause division : What concerns and priorities did women have during this period regarding their health, their bodies, and their sexuality?
What evidence do you use for your choice : Which branch of Texas government seems the most powerful, on paper? What evidence do you use for your choice?
What are the three fundamental rights of human beings : What are the three fundamental rights of human beings? Why are they considered fundamental?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

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

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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