10.11.2020

How to I put in the answer to the computer.

. 5

Faq

Computers and Technology
Step-by-step answer
P Answered by PhD

Public static void main (string args []){

System.out.println("The grade is" + print grade (78));

System.out.println("The grade is" + print grade (59));

}

Public static char print grade (integer grade){

If ( grade >= 90)

System.out.println("You have earned the letter grade A");

Else if (grade >=80)

System.out.println("You have earned the letter grade B");

Else if (grade >=70)

System.out.println("You have earned the letter grade C");

Else if (grade >=60)

System.out.println("You have earned the letter grade D");

Else if (grade <=59)

System.out.println("You have earned the letter grade F");

else (0 >= grade >= 100) System.out.println("You have entered an invalid input.")

}

}

Explanation:

Computers and Technology
Step-by-step answer
P Answered by PhD

Public static void main (string args []){

System.out.println("The grade is" + print grade (78));

System.out.println("The grade is" + print grade (59));

}

Public static char print grade (integer grade){

If ( grade >= 90)

System.out.println("You have earned the letter grade A");

Else if (grade >=80)

System.out.println("You have earned the letter grade B");

Else if (grade >=70)

System.out.println("You have earned the letter grade C");

Else if (grade >=60)

System.out.println("You have earned the letter grade D");

Else if (grade <=59)

System.out.println("You have earned the letter grade F");

else (0 >= grade >= 100) System.out.println("You have entered an invalid input.")

}

}

Explanation:

Computers and Technology
Step-by-step answer
P Answered by PhD

Written in Java

import java.util.*;

public class Project01{

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 int num1,num2;

 System.out.print("Enter first number: ");

 num1 = input.nextInt();

 System.out.print("Enter second number: ");

 num2 = input.nextInt();

 System.out.println(num1+" + "+num2+" = "+(num1 + num2));

 System.out.println(num1+" - "+num2+" = "+(num1 - num2));

 System.out.println(num1+" * "+num2+" = "+(num1 * num2));

 System.out.println(num1+" / "+num2+" = "+(num1 / num2));  

 System.out.print("The average of your two numbers is: "+(num1 + num2)/2);

}

}

Explanation:

import java.util.*;

public class Project01 {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

This line declares myfirstnum and mysecnum as integer

 int myfirstnum,mysecnum;

This line prompts user for first number

 System.out.print("Enter first number: ");

This line gets user input

myfirstnum= input.nextInt();

This line prompts user for second number

 System.out.print("Enter second number: ");

This line gets user input

 mysecnum = input.nextInt();

This line calculates and prints addition operation

 System.out.println(myfirstnum+" + "+mysecnum+" = "+(myfirstnum + mysecnum));

This line calculates and prints subtraction operation

 System.out.println(myfirstnum+" - "+mysecnum+" = "+(myfirstnum - mysecnum));

This line calculates and prints multiplication operation

 System.out.println(myfirstnum+" * "+mysecnum+" = "+(myfirstnum * mysecnum));

This line calculates and prints division operation

 System.out.println(myfirstnum+" / "+mysecnum+" = "+(myfirstnum / mysecnum));  

This line calculates and prints the average of the two numbers

 System.out.print("The average of your two numbers is: "+(myfirstnum + mysecnum)/2);

}

}

Computers and Technology
Step-by-step answer
P Answered by PhD

Following are the code to this question:

def is_question(input_string): # defining method is_question  

   output = '?' in input_string # checking question mark symbol in value

   return output #return value

input_string = input('Enter any string value: ') # defining variable input_string to input value

print (is_question(input_string)) # call method and print return value

Output:

Enter any string value: what is your name?

True

Explanation:

In the given python program code, a method "is_question" is declared, which accepts an "input_string" value in its parameter.

Inside the method, an output variable is used, that search question symbol in the parameter value and return its value. In the next step, the input_string variable is declared, which uses the input method to accepts string value and passes into method calling time and print its return value.
Biology
Step-by-step answer
P Answered by Master

Net Input: ADP, NAD⁺, Glucose

Net Output: ATP, NADH and Pyruvate,

not input or output: O₂, CO₂, coenzyme A and acetyl CoA

Explanation:

Cellular respiration is a catalytic cycle in which glucose structures are broken to obtain the energy currency, which is ATP. This process occurs at times when energy consumption is necessary for the body.

that is why there is input and output of components within the cycle, since it is not anabolic but CATABOLIC.

Biology
Step-by-step answer
P Answered by Specialist

Net Input: ADP, NAD⁺, Glucose

Net Output: ATP, NADH and Pyruvate,

not input or output: O₂, CO₂, coenzyme A and acetyl CoA

Explanation:

Cellular respiration is a catalytic cycle in which glucose structures are broken to obtain the energy currency, which is ATP. This process occurs at times when energy consumption is necessary for the body.

that is why there is input and output of components within the cycle, since it is not anabolic but CATABOLIC.

Try asking the Studen AI a question.

It will provide an instant answer!

FREE