Write function that asks a user its name-age and spouse name

Assignment Help Electrical Engineering
Reference no: EM13278993

Write a function that asks a user it´s name, age and if the user has a spouse. If the user has a spouse, let the function then ask the spouses age. Then let it write out if the user is older, same age or younger then the spouse, and display the age difference.

Reference no: EM13278993

Questions Cloud

What will the price be in 6 years : The Jackson-Timberlake Wardrobe Co. just paid a dividend of $1.40 per share on its stock. The dividends are expected to grow at a constant rate of 8 percent per year indefinitely.
Questions needs facts-issue-holding-law-argument-conslusion : This questions needs Facts, Issue, Holding, Law, Argument and Conslusion - Power of the ILO Administrative Tribunal: Armstrong worked for a United Nations specialized agency in Geneva for seven years. As Part of his job, he tracked the civil rights a..
What is the value of the option to delay the project : The project's cost and expected annual cash flows would be the same whether the project is delayed or not. The project's WACC is 8.5%. What is the value (in thousands) of the option to delay the project?
Define cis-dibenzoylethylene is converted to a more stable : cis-dibenzoylethylene is converted to a more stable, new product, ethyl 4-phenyl-4-phenoxy-3-butenoate. What is the structure of the new product
Write function that asks a user its name-age and spouse name : Write a function that asks a user it´s name, age and if the user has a spouse. If the user has a spouse, let the function then ask the spouses age. Then let it write out if the user is older, same age or younger then the spouse, and display the ag..
Explain one cannot be drawn without violating the octet rule : It is possible to draw a valid Lewis structure that follows the octet rule for all of the following except one. Which one cannot be drawn without violating the octet rule.
What is the value of the investment timing option : what is the value (in thousands) of the investment timing option? 1. $1,606 2. $1,740 3. $1,413 4. $1,458 5. $1,487
Us healthcare system with that of another developed country : Compare and contrast the U.S. healthcare system with that of another developed country. What aspects of open and closed systems are exhibited by the United States and by your selected country?
Design inverting amplifier using one opamp and two resistors : Design an inverting amplifier using one opamp and two or more resistors. Design it such that it has a gain of -10 (this gain is termed "inverting").Include a schematic of this circuit with the component values labeled .

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Vhdl coding

The main mission of this project is to design and build a tap changer which is going to be fitted to power transformers for regulation of the output voltage to required levels for the Micro Grid. The tap changer system will consist of 9 changers with..

  How will the reading of two ammeters compare

How will the reading of two ammeters compare if they are placed in series in a circuit Will the answer to this question be different if the resistance of the two ammeters is not the same

  Calculate the value of the thermal voltage

Calculate the value of the thermal voltage, VT at -400C, 00C, +400C and +1500 C. At what temperature is VT exactly 25mV

  Determine what is the actual maximum channel capacity

Given the narrow audio bandwidth of a telephone transmission facility, a nominal SNR of 56DB and a distortion level of

  Determine what is the gage pressure in the tank

The gauge pressure on an air tank is measured to be 250 kPa at the surface of the water. Take the atmospheric pressure to be 100 kPa. The density of water is 997 kg/m3. a) What is the absolute pressure in the tank at the surface

  Describe the characteristics of the series rc filter circuit

Describe the characteristics of the series RC filter circuit with the outpu across the resistive component. Distinguish the pass and stop bands with reference to the cutoff frequency. Also state what happens to the circuit complex impedance at the..

  What happens if connect an integrator and a diffetentiator

(1) What happens if we connect an integrator and a diffetentiator together in series. What do we get. 2) Explain what is meant by 1nV/rtHz. What is the meaning of this specification.

  Determine p-type body doping concentration na for voltage

Write an equation to help determine P-type body doping concentration Na for a required threshold voltage V (sub TN) for an N-channel Al-Sio(sub 2) -Si MOSFET. Use the equation to design an N-MOSFET with a thershold voltage of 10V

  Determine the approximate detected s-n ratio

The bit energy to one-sided noise density at a PCM receiver input is 30 dB. Referring to the figure above, determine the approximate detected S/N ratio (in dB) for 8-bit BPSK with a matched filter detector.

  What is the area of the surface in units of square meters

If 15 newtons of force is applied to a surface and the pressure is measured as 4,000 Pascals, what is the area of the surface in units of square meters

  Calculate the maximum value of the resistor

Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named res1 and is used to input a resistance value in ohms. The second JTextField variable named tol is used to ..

  Determine the line current-input power and developed torque

A 74.6-kW, three phase, 440-V (line to line), four pole, 60-Hz induction motor has the following (per phase) parameters referred to the stator circuit: Rs=0.06-Ω, Rr=0.08-Ω, Xs=0.3-Ω, Xr=0.3-Ω, Xm=5-Ω The no-load power input is 3240-W at a current ..

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