What game is this? helpppppp

What Game Is This? Helpppppp

Answers

Answer 1

Answer:

the sims lol

Explanation:


Related Questions

Are Dogs are better than video games?

Answers

sometimes bc dogs are very lovey but video games also have there moments

Answer:

In some cases yes.

Explanation:

Some days I really enjoy my video games and other days I enjoy being with my dog but sometimes they are annoying especially if they have way more energy than you

Write a function named findmax()that finds and displays the maximum values in a two dimensional array of integers. The array should be declared as a 10 row by 15 column array of integers in main()and populated with random numbers between 0 and 100.

Answers

Answer:

import java.util.*;

public class Main

{

public static void main(String[] args) {

    Random r = new Random();

    int[][] numbers = new int[10][15];

   

    for (int i=0; i<10; i++){

        for (int j=0; j<15; j++){

            numbers[i][j] = new Random().nextInt(101);

        }

    }

   

    for (int i=0; i<10; i++){

        for (int j=0; j<15; j++){

            System.out.print(numbers[i][j] + " ");

        }

        System.out.println();

    }

   

    findmax(numbers);

}

public static void findmax(int[][] numbers){

    int max = numbers[0][0];

   

    for (int i=0; i<10; i++){

        for (int j=0; j<15; j++){

            if(numbers[i][j] > max)

                max = numbers[i][j];

        }

    }

    System.out.println("The max is " + max);

}

}

Explanation:

*The code is in Java.

Create a function called findmax() that takes one parameter, numbers array

Inside the function:

Initialize the max as first number in the array

Create a nested for loop that iterates through the array. Inside the second for loop, check if a number is greater than the max. If it is set it as the new max

When the loop is done, print the max

Inside the main:

Initialize a 2D array called numbers

Create a nested for loop that sets the random numbers to the numbers array. Note that to generate random integers, nextInt() function in the Random class is used

Create another nested for loop that displays the content of the numbers array

Call the findmax() function passing the numbers array as a parameter

Write a program that contains three methods:

Method max (int x, int y, int z) returns the maximum value of three integer values.
Method min (int X, int y, int z) returns the minimum value of three integer values.
Method average (int x, int y, int z) returns the average of three integer values.

Answers

Answer:

#include <stdio.h>//defining header file

int max (int x, int y, int z) //defining a method max that hold three parameters

{

   if(x>=y && x>=z)//defining if block that checks x is greater then y and x is greater then z

   {

       return x;//return the value x

   }

   else if(y>z)//defining else if block it check y is greater then z

   {

       return y;//return the value y

   }

   else//else block

   {

       return z;//return the value z

   }

}

int min (int x, int y, int z) //defining a method max that holds three parameters

{

if(x<=y && x<=z) //defining if block that check x value is less then equal to y and less then equal to z

{

return x;//return the value of x

}

if(y<=x && y<=z) //defining if block that check y value is less then equal to x and less then equal to z

{

return y;//return the value of y

}

if(z<=x && z<=x)//defining if block that check z value is less then equal to x  

{

return z;//return the value of z

}

return x;//return the value of z  

}

int average (int x, int y, int z) //defining average method that take three parameters

{

int avg= (x+y+z)/3;//defining integer variable avg that calculate the average

return avg;//return avg value

}

int main()//defining main method

{

   int x,y,z;//defining integer variable

   printf("Enter first value: ");//print message

   scanf("%d",&x);//input value from the user end

   printf("Enter Second value: ");//print message

   scanf("%d",&y);//input value from the user end

   printf("Enter third value: ");//print message

   scanf("%d",&z);//input value from the user end

   printf("The maximum value is: %d\n", max(x,y,z));//calling the method max

   printf("The minimum value is: %d\n", min(x,y,z));//calling the method min

   printf("The average value is: %d\n", average(x,y,z));//calling the method average

   return 0;

}

Output:

Enter first value: 45

Enter Second value: 35

Enter third value: 10

The maximum value is: 45

The minimum value is: 10

The average value is: 30

Explanation:

In the above-given code, three methods "max, min, and average" is declared that holds three integer variable "x,y, and z" as a parameter and all the method work as their respective name.

In the max method, it uses a conditional statement to find the highest number among them.In the min method, it also uses the conditional statement to find the minimum value from them.In the average method, it defined an integer variable "avg" that holds the average value of the given parameter variable.In the main method, three variable is defined that inputs the value from the user end and passes to the method and print its value.      
Other Questions
What is 6:44 in spanish Confucianism teaches filial piety. What does this mean?A.Elders should respect and obey the young.B.The young should not interact with their elders.C.Elders should be strict with the young.D.Theyoung should respect and obey their elders. -413.4=-15.9n please help Factorise x cube -2x square -5x plus 6 why do bathroom amenities need to be replenished daily? Mineral reaction to stress 14 points~Explain why heartbreak is so hard to get over with. if a plot of land contains a rectangular array of 102 strawberries plants, how many rows are in the array if there are 34 plants in each row? A cell has chloroplasts, numerous ribosomes, an endoplasmic reticulum, and a cell wall. What type of cell is this? help plzzzzzz it should be easy when a pendulum swings, at which point is potential energy highest? Sales tax varies throughout Georgia because some cities and counties have their own additional sales tax. apply a local sales tax without the state sales tax. use different methods to calculate sales tax. refuse to apply the state sales tax.please help quick first right answer gets brainlist no cap All of the following allowed for Mongol dominance in warfare EXCEPT:bThe Mongols had better sword technology than others in the 1200sThey were skilled on horseback, riding from a very young ageThey utilized fear and brutal tactics in their conquestThe Mongols were organized and utilized archery effectivelyOOd if you earn $35 in 5 hours, how much money will you earn in 17 hours? how much will you earn in 1 hour? how has the appalachian and rocky mountains impacted the settlement patterns in the united states? HELP ME PLEASE I DON'T KNOW WHAT TO DO AND THERE IS A BIRD TRYING TO GET INTO THE WINDOW WHAT DO I DO!!!!! Kelsey is a stock broker. She earns 11% commission each week.Last week she sold $7200 worth of stocks. How much did she make last week in commission? if she averages the same amount each week how much did she make in commission in 2011? What happens between segments of dancing at a "fista de quince" party? GUYS I NEED THIS ASAP CAN YOU NOT PLAY THAT LIL' BOY IN THE CLUB