. Are Integers Created Equally?
by CodeChum Admin
It's time to find out if something is true or false. Let's test your capabilities by creating a program that checks if two integers are equal!
Instructions:
Input two integers in one line.
Print the two integers in one line, and separate them with a space.
Print a string message "Equal" on a new line, if both inputted integers are equal.
Input
1. First integer
2. Second integer
Output
The first two lines will contain message prompts to input the two integers.
The next line will contain the inputted integers.
The last line will contain a string which is the result, if the condition were true.
Enter·the·first·integer:·5
Enter·the·second·integer:·5
5·5
Equal
Let P ( x ) denote the sentence 2x + y = 5. What are the truth value of the following where the domain of x and y is the set of all integers.
1. Ɐx ⱯyP( x,y)
2. Ɐx ꓱyP ( x,y)
3. ꓱx ⱯyP ( x,y)
4. ꓱx ꓱyP( x,y)
The waves on a string have wave speed 8.00m/s, amplitude 0.0600m, and wavelength
0.400m. The waves travel in the -x direction and at t = 0s, the end of the string has its maximum
upward displacement.
(a) Write a wave function describing the wave and
(b). Find the transverse displacement of a particle at x = 0.350m at time t = 0.150s
A sample of O2(g) which is saturated with water vapor, is kept in a 15.0-L vessel at 33°C and has a pressure of 750 torr. if the pressure of the water vapor at this temperature is 30.0 Torr, what would be the pressure of the dry oxygen?
in a gas mixture composed of N2, Ne, and He, the partial pressure of N2 is 0.60 atm, Ne is 1.5 atm, and He is 0.90 atm. What is the total pressure of the mixture?.Calculate the mole fraction of each gas
Find the center of the mass of the four particles having the masses of 2, 3, 3 and 4 kg and located at the points (-1, -2), (1, 3), (0, 5), and (2, 1), respectively.
Input the gender of 10 students in the form of m, M or f, F. Display how many students are male and female. Use for loop and while loop.
A car changes its velocity from 20 m/s [N] to 20 m/s[S] in 5.5 s. If the mass of the car is 1500 kg,
what is the net force acting on it?
A sikorsky freight helicopter can easily lift a 5000 kg truck. If the acceleration of the truck is 1.5 m/s2 up, what is the net force being applied by the helicopter?
a person acceleration at 9.80 m/s2 as she falls out of a plane experiences a net force of 1000 N. What is her mass?