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
Citrus2011 [14]
3 years ago
6

Watch this this is how they built the meowtalk apphttps:// youtu.be/P-5k2zDrIes

Engineering
1 answer:
Marina CMI [18]3 years ago
4 0

What's your question?

You might be interested in
Write a Lottery class that simulates a lottery. The class should have an array of five integers named lotteryNumbers. The constr
Bezzdna [24]

Answer:

Output:-

Enter the five digit lottery number

Enter the digit 1 : 23

Enter the digit 2 : 44

Enter the digit 3 : 43

Enter the digit 4 : 66

Enter the digit 5 : 33

YOU LOSS!!

Computer Generated Lottery Number :

|12|38|47|48|49|

Lottery Number Of user:

|23|33|43|44|66|

Number Of digit matched: 0

Code:-

import java.util.Arrays;

import java.util.Random;

import java.util.Scanner;

public class Lottery {

int[] lotteryNumbers = new int[5];

public int[] getLotteryNumbers() {

return lotteryNumbers;

}

Lottery() {

Random randomVal = new Random();

for (int i = 0; i < lotteryNumbers.length; i++) {

lotteryNumbers[i] = randomVal.nextInt((50 - 1) + 1);

}

}

int compare(int[] personLottery) {

int count = 0;

Arrays.sort(lotteryNumbers);

Arrays.sort(personLottery);

for (int i = 0; i < lotteryNumbers.length; i++) {

if (lotteryNumbers[i] == personLottery[i]) {

count++;

}

}

return count;

}

public static void main(String[] args) {

int[] personLotteryNum = new int[5];

int matchNum;

Lottery lnum = new Lottery();

Scanner input = new Scanner(System.in);

System.out.println("Enten the five digit lottery number");

for (int i = 0; i < personLotteryNum.length; i++) {

System.out.println("Enter the digit " + (i + 1) + " :");

personLotteryNum[i] = input.nextInt();

}

matchNum = lnum.compare(personLotteryNum);

if (matchNum == 5)

System.out.println("YOU WIN!!");

else

System.out.println("YOU LOSS!!");

System.out.println("Computer Generated Lottery Number :");

System.out.print("|");

for (int i = 0; i < lnum.getLotteryNumbers().length; i++) {

System.out.print(lnum.getLotteryNumbers()[i] + "|");

}

System.out.println("\n\nLottery Number Of user:");

System.out.print("|");

for (int i = 0; i < personLotteryNum.length; i++) {

System.out.print(personLotteryNum[i] + "|");

}

System.out.println();

System.out.println("Number Of digit matched: " + matchNum);

}

}

Explanation:

5 0
3 years ago
Make a list of common uses of pneumatic systems in engineering contexts. Explain how each system functions and what benefit it b
MArishka [77]

Answer:

Bicycle Pumps. These pumps are used to inflate bicycle wheels, basketballs, footballs, Ect. Brakes on Buses and Trucks. Tire Pressure Gauges. Jackhammer. Pneumatic Nail Guns.

Explanation:

8 0
2 years ago
Read 2 more answers
A roller support acts like a contact boundary condition as it can produce a reaction force as a push response to a body but will
Zanzabum

Answer:

a) True

Explanation:

Roller can provide reaction for push support but it can not provide reaction for pull support.  

From the free body diagram of roller and hinge support we can easily find that ,Roller providing vertical reaction and can not provide horizontal reaction.

On the other hand hinge support can provide reaction in both the direction.

So we can say that roller can not proved reaction for pull support.

6 0
3 years ago
true or false modeling is making predictions about future data points not associated with your equation? Explain why.​
Lelechka [254]

Answer:

Explanatiomn:

3 0
4 years ago
g Consider the following observations on shear strength (MPa) of a joint bonded in a particular manner. 22.6 40.4 16.4 72.4 36.6
Blababa [14]
Wow same question!!! Nice
4 0
3 years ago
Other questions:
  • Question 2 (Multiple Choice Worth 3 points)
    11·1 answer
  • If there’s an unidentified puddle under your car, it means ______.
    12·1 answer
  • Find the mass if the force is 18 N and the acceleration is 2 m/s2
    8·2 answers
  • Python Codio Question:
    14·1 answer
  • An insulated rigid tank is initially evacuated. A valve is opened, and atmospheric air at 95 kPa and 17 ºC enters the tank until
    13·1 answer
  • What limits the practical realization of higher efficiencies in the Otto cycle?
    7·1 answer
  • In this assignment, you will demonstrate your ability to write simple shell scripts. This is a cumulative assignment that will c
    8·1 answer
  • In a true Brayton cycle, the pressure ratio is 9. Air input temperature to the cycle 300 K pressure is 100 kPa. The maximum temp
    9·1 answer
  • How to Cancel prescription
    12·1 answer
  • We intend to measure the open-loop gain (A open ) of an actual operational amplifier. The magnitude of A_open is in the range of
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!