Write a program to ask the user to enter 5 student names

Assignment Help Computer Engineering
Reference no: EM13322973

Create two arrays with 5 elements each: one will hold Strings and the second will hold integers.

Write a program to ask the user to enter 5 student names and their ages. Output the data from the parallel arrays.

Sample Run: Program must run exactly like the example below.

Enter a student name: Joe

Enter a student name: Mark

Enter a student name: Mary

Enter a student name: Michelle

Enter a student name: Aaron

Enter Joe's Age: 25

Enter Mark's Age: 24

Enter Mary's Age: 35

Enter Michelle's Age: 19

Enter Aaron's Age: 65

Joe 25

Mark 24

Mary 35

Michelle 19

Aaron 65

 

Reference no: EM13322973

Questions Cloud

What is the distance corrected for the erroneous tapelength : A 100 ft steel tape known to be only 99.97ft long (understandard conditions) was used to record a measurem,ent of 215.63ft. What is the distance corrected for the erroneous tapelength
What is the speed of the waves that are reflecting back : Just as you are about to step into a nice hot bath, a small earthquake rattles your bathroom. What is the speed of the waves that are reflecting back and forth inside the tub to create the standing wave
Determine what was the distance between the markers : A 100 ft cut steel tape was used to measure between two property markers. The rear surveyor held 93 ft, while the head surveyor cut .67ft. What was the distance between the markers
Require changes in the law or allocation of tax revenues : Respond to the following: Flammable liquids overflowed at BP’s Texas City oil refinery in 2005, creating a cloud of vapor that ignited, killing 15 workers and injuring 170. This was not the only fatal accident at BP during the last 30 years, yet OSHA..
Write a program to ask the user to enter 5 student names : Write a program to ask the user to enter 5 student names and their ages. Output the data from the parallel arrays.
Calculate and display their individual pay increases : They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases.
Determine the magnitude of the gravitational force : On earth, two parts of a space probe weigh 13500 N and 3790 N. These parts are separated by a center-to-center distance of 14.4 m, Find the magnitude of the gravitational force
Determine themax value of bending stress in the beam : A beam of rectangular cross section 300mm by 100mm sitsupright and has a moment of inertia of 225 X 10-6m4 and a max bending moment of 67.5KNm. Determine themax value of bending stress in the beam.
Determine the youngs modulus for a metal of the uts : Determine the young's modulus for a metal whose elasic limit isone half of its UTS. The material has a strain of 0.002 at theelastc limit and a gauge length of 50mm. The UTS of the metal is300 MPa.

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