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
igomit [66]
3 years ago
13

Write a statement that declares a prototype for a function add, which has two int parameters and returns an int .

Computers and Technology
1 answer:
Anarel [89]3 years ago
4 0
Int add( int, int );
You might be interested in
Please help with question
sineoko [7]

Answer:

many people hare seen the movie . active to passive voice

3 0
3 years ago
Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an in
Ulleksa [173]

Answer:

The problem here is you are comparing month names with == , in case of strings there is a difference between comparing with == and .equals. So I have changed that code please check now

Program:

import java.util.Scanner;

public class LabProgram {

public static void main(String[] args) {

Scanner scnr = new Scanner(System.in);

String inputMonth;

int inputDay;

System.out.print("Enter month:");

inputMonth = scnr.next();

System.out.print("Enter day of month");

inputDay = scnr.nextInt();

if((inputMonth.equalsIgnoreCase("march")&&inputDay>19)||inputMonth.equalsIgnoreCase("april")||inputMonth=="may"||(inputMonth.equalsIgnoreCase("june")&&inputDay<21))

{

System.out.println("spring");

}

else if((inputMonth.equalsIgnoreCase("june")&&inputDay>20)||inputMonth.equalsIgnoreCase("july")||inputMonth=="august"||(inputMonth.equalsIgnoreCase("september")&&inputDay<22))

{

System.out.println("summer");

}

else if((inputMonth.equalsIgnoreCase("september")&&inputDay>21)||inputMonth.equalsIgnoreCase("october")||inputMonth.equalsIgnoreCase("november")||(inputMonth.equalsIgnoreCase("December")&&inputDay<21))

{

System.out.println("autumn");

}

else if((inputMonth.equalsIgnoreCase("december")&&inputDay>20)||inputMonth.equalsIgnoreCase("january")||inputMonth.equalsIgnoreCase("february")||(inputMonth.equalsIgnoreCase("march")&&inputDay<20))

{

System.out.println("winter");

}

else

{

System.out.println("invalid");

} }

}

Output:

3 0
3 years ago
Which of the case studies that you read (Walmart, Target or 5 Big Data Industries) caught your attention and why? Before reading
IrinaK [193]

Answer:

Walmart has caught my attention many times, and definitely when I was reading a case study on it recently. The data that they have collected is from all over the world, and probably the most well planned as it originates from some very high level and good analytics, awesome queries and various other heterogeneous sources. And they have a very unique way of using this data. Being an Engineer however myself, I have studied Data warehousing and Data mining in detail as well as Machine learning. And Walmart first collects the data using Data warehousing, and then it cleans it using the statistics, artificial intelligence, machine learning and statistics, and finally makes a model using the machine learning. They call it all together Data science, and the collected data is being termed as big data, and it has all typos of data which includes images, text, video, sound, animations, and all. Apart from Walmart, you can think of all the social media sites, e-commerce sites, and a lot more.  All are using the data warehousing, data mining and Machine learning all together.  

Explanation:

The answer is self explanatory.

7 0
3 years ago
A USB flash drive uses solid
steposvetlana [31]
State drive. SSD=Solid State Drive
8 0
3 years ago
List two ways to insert a chart in powerpoint
Zanzabum

Answer:

1st way: On the Insert tab, in the Illustrations group, click Chart. In the Insert Chart dialog box, click a chart, and then click OK.

2nd way: Click INSERT > Chart. Click the chart type and then double-click the chart you want.

3 0
3 years ago
Other questions:
  • kindly for the website of stedeo code.org if I login is the time of logging appears at my teacher ??is it registered ​
    14·1 answer
  • Technician A says that if the coefficient of friction is too low, the brakes will grab.
    12·1 answer
  • In 2-5 sentences, explain how columns can be used and set up to increase the effectiveness of business documents.
    11·1 answer
  • Plz help me of this answer<br><br><br>language:python​
    7·2 answers
  • Nonverbal messages from the movie it​
    5·2 answers
  • Convert 11/10 to Decimal​
    14·1 answer
  • The manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the pr
    13·1 answer
  • How do you think Beyoncé choreography has/will influence the future of dance?
    9·2 answers
  • What principle of animation helps facial features to be noticed?
    7·2 answers
  • Revisa un manual o instructivo de las maquinas o aparatos tecnologicos que tengas en tu casa. Luego, trata de encontrar algunas
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!