subject
Engineering, 06.10.2019 07:30 lizzyhearts

Write a program named checkmonth2 that prompts a user to enter a birth month and day. display an error message that says invalid date if the month is invalid (not 1 through 12) or the day is invalid for the month (for example, not between 1 and 31 for january or between 1 and 29 for february). if the month and day are valid, display them with a message. for example, if the month entered is 2, and the day entered is 17, the output should be 2/17 is a valid birthday.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factorยทn". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 19:10
What are the major differences between injection molding and extrusion?
Answers: 2
question
Engineering, 06.07.2019 04:20
Amachine of mass 140 kg is mounted on springs of stiffness 1.4x10ยฐ n/m and in parallel witha viscous damper of unknown damping coefficient. the machine is subject to a harmonic excitation of 200sin150t n. the phase angle is measured as 2.58 rad. what is the damping coefficient of the viscous damper?
Answers: 2
question
Engineering, 06.07.2019 04:30
At steady state, air enters an insulated duct of varying cross-sectional area (similar to a nozzle or diffuser) at 200 kpa, 52ยฐc with a mass flow rate of 0.5 kg/s. at the duct exit, the pressure of the air is 100 kpa, the velocity is 255 m/s, and the cross-sectional area is 2 x 10-3 m^2. assuming an ideal gas model, determine: a)-find the specific volume of the air at the exit, in m3/kg. b)- the temperature of the air at the exit, in k. c)-the velocity of the air at the inlet, in m/s. d)-the inlet cross-sectional area, in m^2.
Answers: 1
You know the right answer?
Write a program named checkmonth2 that prompts a user to enter a birth month and day. display an err...
Questions
question
Physics, 01.07.2021 08:50
question
English, 01.07.2021 08:50
question
Geography, 01.07.2021 08:50
question
Mathematics, 01.07.2021 08:50
question
Computers and Technology, 01.07.2021 08:50
question
Mathematics, 01.07.2021 08:50
question
Mathematics, 01.07.2021 08:50
question
Mathematics, 01.07.2021 08:50
question
Mathematics, 01.07.2021 08:50