Write program that asks user for initial

Assignment Help Programming Languages
Reference no: EM1362696

Write a program that asks a user for his/her first initial. Then ask the user to type 1,2 3, 4. When the user types 4 the program ends. When the user types in 1, 2, or 3 , the program displays the message, "Good Job" and then asks for another input. When the user types anything else, issue an error message and then ask for another input.

Reference no: EM1362696

Questions Cloud

Manage the cost of processing orders : Manage the cost of processing orders - How might an operations manager use this information to manage the cost of processing orders?
Explain the similar bonds without a conversion feature : Explain the Similar bonds without a conversion feature returned 10% at the time and The bond is convertible into stock at a price of $35
Emerging trends in accounting : Assume that actual cash inflows turn out to be $91,000 per year. Determine the amount of Mr. Holt's bonus if the original computation of net present value were based on $90,000 versus $70,000.
Elucidate what is the probability that a randomly : Employment data at a large company revel that 72% of the workers are married, that 44% are college grads,and half of the college grads are married. Elucidate what is the probability that a randomly chosen worker;
Write program that asks user for initial : Write a program that asks a user for his/her first initial. Then ask the user to type 1,2 3, 4. When the user types 4 the program ends. When the user types in 1, 2, or 3 , the program displays the message.
Assume that the speeder maintains a constant speed : A speeding motorist traveling 100km/h passes a stationary police officer. The officer immediately begins pursuit at a constant acceleration of 12km/h/s (note the mixed units).
Factors of dietary supplements : What factors must you consider before taking dietary supplements? In what ways are they helpful or harmful?
Determine the gain from merger : Velcro Saddles is planning the acquisition of Pogo Ski Sticks, Corporation. The values of the two companies as separate entities are $20 million and $10 million, respectively.
Identify untapped customer needs through open innovation : How might businesses use the Internet to identify untapped customer needs through open innovation? What do you see as the major advantages and disadvantages of the open innovation approach?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a program to enter series of numbers

Write a program that ask the user to enter a series of numbers ending with -1. After the -1 is input, program should print how many numbers are even and how many numbers are odd.

  Writing application to accept loan amount-interest rate

Write down the application to accept a loan amount, annual interest rate, and loan period (in number of years) and displays a table with five columns.

  Program to print total balances forward and total withdrawal

At the end of report, print total balances forward, total deposits, total interest earned, total withdrawals and total final account balances.

  Identify all the pure-strategy nash equilibria of game

Identify all of the pure-strategy Nash Equilibria of this game. Identify at least one mixed-strategy Nash Equilibrium, and show that it is a Nash Equilibrium.

  Program to compute grade point average

Write a program that uses such a file to calculate your grade point average(GPA). A GPA is based on a scale from 5, where A is 4, B is 3, C is 2, D is 1 and F is 0.

  Write a program to enter the number of apartment units

Write a program that prompts the user to enter the number of apartment units, the rent to occupy all the units, the increase in rent that result in a vacant unit.

  Program to prompt a user for hourly pay rate

Create program called "calculatePay" which will prompt user for their hourly pay rate.

  Create an abstract representation of a generic animal

Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.

  Designing menu for administrator to simulate transmissions

Design a menu which permits administrator to simulate transmissions of information by manually typing in login or logoff data.

  Create program to calculate amount of paint needed

Create a program to calculate the amount of paint needed to cover one side of a house with a sloped roof . Assume tha this house has a rectangular shape with a rectangular window .

  Code to sum of all the elements of the array

Write some code that places the sum of all the elements of the array x into total. Declare any variables that you need.

  Ethics and social responsibility

Ethics and social responsibility at McDonalds

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