Write a program which should take two user inputs

Assignment Help Computer Engineering
Reference no: EM132103222

Practise Problem 1: Write a C++ program which takes user input as temperature reading of last three hours from three different locations in Kuwait. You should use a two-dimensional array to store these temperature values. The program should ask the user to input the temperature values for all locations one by one.

First it should complete storing the temperature for one location (three values), and then a print message should be shown asking to provide the temperature values for next location. Your program should print the average temperature for each location, and should display the resulting values for each location. Your program should also compute average temperature on three locations during each hour. The result also be displayed as average temperature in hour - first, second and third.

Practise Problem - 2: Write a C++ program which should take two user inputs. First input is your first name, and the second input is your family name. You should use character arrays to store both inputs. Next, you should check if both the inputs are same or not. If inputs are same, you should give an error message.

If the inputs are not same, you should combine both  he names with blank space in between, and display the full name as output. Also, you should print the full name in reverse order by reversing the order of characters i.e. Ehtesham Hassan should be printed as nassaH mahsethE.

Reference no: EM132103222

Questions Cloud

Describe the strategy you used to find appropriate prices : Describe the strategy you used to find appropriate prices for each scenario (approximately 150 words). Ensure that the Low price is less than the Medium price
Outline the basic principles of programming : Prepare a basic solution to a business problem - Apply business information software for data visualization and analysis purposes
Assess the apparent quality of the social accounting : BUGEN 5930 - Business, Society and the Planet - Develop a script in which the central character in this scenario applies the Giving Voice to Values framework
Prepare an interactive computer program : Prepare an interactive computer program from which the cross sectional properties for the shapes shown on the page opposite the inside front cover can be calcul
Write a program which should take two user inputs : Write a C++ program which takes user input as temperature reading of last three hours from three different locations in Kuwait.
Share a unique logical view for simple database application : Consider an application you would like to eventually implement. What would the logical design look like?
How do these roles differ in different types of organization : What roles do security analysts play in preventing Web server, application, and database attacks?
What threats remain constant from year to year : Why are these threats more common and why are they important? What threats remain constant from year to year? Why?
Estimate the period of oscillation : How should they proceed? You can answer this by studying the behavior of the system for varying initial conditions.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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