1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
natta225 [31]
3 years ago
7

Write two scnr.nextInt statements to get input values into birthMonth and birthYear. Then write a statement to output the month,

a slash, and the year. End with newline. The program will be tested with inputs 1 2000 and then with inputs 5 1950. Ex: If the input is 1 2000, the output is: 1/2000
Engineering
1 answer:
aalyn [17]3 years ago
3 0

Answer:

import java.util.Scanner;

public class InputExample {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       int birthMonth;

       int birthYear;

       birthMonth = scnr.nextInt();

       birthYear = scnr.nextInt();

       System.out.println(birthMonth+"/"+birthYear);

   }

}

You might be interested in
____ grinders are used to grind diameters, shoulders, and faces much like the lathe is used for turning, facing, and boring oper
skelet666 [1.2K]

Answer:

Cylindrical

Explanation:

<em>A cylindrical grinder </em><em>is a tool for shaping the exterior of an item. Although cylindrical grinders may produce a wide range of forms, the item must have a central axis of rotation. Shapes such as cylinders, ellipses, cams, and crankshafts are examples of this.</em><em> Cylindrical grinding</em><em> machines are specialized grinding machines that are used to process cylinders, rods, and similar workpieces. The cylinders revolve in one direction between two centers, while the grinding wheel or wheels are close together and rotate in the other direction.</em>

8 0
1 year ago
A satellite is launched 600 km from the surface of the earth, with an initial velocity of 8333.3 m./s, acting parallel to the ta
Vikki [24]

Answer:

eccentrcity of orbit is 0.22

Explanation:

GIVEN DATA:

Initial velocity of satellite = 8333.3 m/s

distance from the sun is 600 km

radius of earth is 6378 km

as satellite is acting parallel to the earth therefore\theta angle = 0

and radial component of given velocity is zero

we haveh = r_o v_r_o = 6378+600 =6.97*10^6 m

h = 6.97*10^6 *8333.3 = 58.08*10^9 m^2/s

we know that

\frac{1}{r} =\frac{GM}{h^2} \times ( i + \epsilon cos\theta)

GM = gr^2 = 9.81*(6.37*10^6)^2 = 398*10^{12} m^3/s

so

\frac{1}{6.97*10^6} =\frac{398*10^{12}}{(58.08*10^9)^2} \times ( i + \epsilon cos0)

solvingt for \epsilon)

\epsilon = 0.22)

therefore eccentrcity of orbit is 0.22

6 0
3 years ago
Users of E85 see a drop in gas mileage because ethanol can't produce the same
liraira [26]

Answer:

A

Explanation:

Due to ethanol's lower energy content, FFVs operating on E85 get roughly 15% to 27% fewer miles per gallon than when operating on regular gasoline, depending on the ethanol content.

7 0
2 years ago
Water flows through a horizontal plastic pipe with a diameter of 0.15 m at a velocity of 15 cm/s. Determine the pressure drop pe
Sonja [21]

Answer:0.1898 Pa/m

Explanation:

Given data

Diameter of Pipe\left ( D\right )=0.15m

Velocity of water in pipe\left ( V\right )=15cm/s

We know viscosity of water is\left (\mu\right )=8.90\times10^{-4}pa-s

Pressure drop is given by hagen poiseuille equation

\Delta P=\frac{128\mu \L Q}{\pi D^4}

We have asked pressure Drop per unit length i.e.

\frac{\Delta P}{L} =\frac{128\mu \ Q}{\pi D^4}

Substituting Values

\frac{\Delta P}{L}=\frac{128\times8.90\times10^{-4}\times\pi \times\left ( 0.15^{3}\right )}{\pi\times 4 \times\left ( 0.15^{2}\right )}

\frac{\Delta P}{L}=0.1898 Pa/m

4 0
3 years ago
It is desired to produce and aligned carbon fiber-epoxy matrix composite having a longitudinal tensile strength of 630 MPa. Calc
ratelena [41]

Answer:

The answer is below

Explanation:

Given that:

Diameter (D) = 0.03 mm = 0.00003 m, length (L) = 2.4 mm = 0.0024 m, longitudinal tensile strength (\sigma_{cd})=630\ MPa = 630*10^6\ Pa, Fracture strength

(\sigma_f)=5100\ MPa=5100*10^6\ Pa,fiber-matrix\ stres(\sigma_m)=17.5\ MPa=17.5*10^6\ Pa,matrix\ strength=\tau_c=17\ MPa=17 *10^6\ Pa

a) The critical length (L_c) is given by:

L_c=\sigma_f*(\frac{D}{2*\tau_c} )=5100*10^6*\frac{0.00003}{2*17*10^6}=0.0045\ m=4.5\ mm

The critical length (4.5 mm) is greater than the given length, hence th composite can be produced.

b) The volume fraction (Vf) is gotten from the formula:

\sigma_{cd}=\frac{L*\tau_c}{D}*V_f+\sigma_m(1-V_f)\\\\V_f=\frac{\sigma_{cd}-\sigma_{m}}{\frac{L*\tau_c}{D}-\sigma_{m}}  \\\\Substituting:\\\\V_f=\frac{630*10^6-17.5*10^6}{\frac{0.0024*17*10^6}{0.00003} -17.5*10^6} \\\\V_f=0.456

6 0
3 years ago
Other questions:
  • 11 Notează, în caiet, trăsăturile personajelor ce se pot
    13·1 answer
  • A stem and leaf display
    12·1 answer
  • 1- A square-wave inverter has a dc source of 96 V and an output frequency of 60 Hz. The load is a series RL load with R = 5 Ohm
    7·1 answer
  • Plot the absorbance, A, versus the FeSCN2 concentration of the standard solutions (the values from your Pre-lab assignment). Fro
    7·1 answer
  • Pls help me answer my module
    13·1 answer
  • Barry wants to convert mechanical energy into electric energy. What can he use?
    5·2 answers
  • Tests reveal that a normal driver takes about 0.75 s before he orshecan react to a situation to avoid a collision. It takes abou
    11·1 answer
  • In a certain balanced three phase system each line current is a 5a and each line voltage is 220v . What is the approximate real
    15·1 answer
  • If a car travels 8 miles in 15 minutes, what is the speed of the car in miles per hour
    11·1 answer
  • A composite plane wall consists of a 5-in.-thick layer of insulation (ks = 0.029 Btu/h*ft*°R) and a 0.75-in.-thick layer of sidi
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!