Answer:
yea
because it all u have do is got to the website that is at the end of it
Answer:
The image of truth table is attached.
Explanation:
In the truth table there is a separate table for the expression (A+B).C and for the expression (A.C)+(B.C) you can see in the truth table that the columns of (A+B).C is having same values as the (A.C)+(B.C).Hence we can conclude that (A+B).C is equal to (A.C)+(B.C).
Calipso
CloudSat
Aqua
Hope this helps. Brainliest please
Answer:
#include <iostream>
using namespace std;
double larger( double x, double y){
if (x > y){
return x;
} else{
return y;
}
}
int main(){
int n, max = 0;
for (int i =0; i < 15; i++){
cout<< "Enter item"<< i+1 << ": ";
cin>> n;
cout<< "\n";
max = larger( n, max);
}
cout<<"The maximum number is: "<< max;
return 0;
}
Explanation:
The C++ program defines the function 'larger' that compares and returns the largest of two numbers. The main program prompts the user for 15 numbers and the larger function is called to return the largest of the fifteen numbers given.
Answer:
Follows are the code to the given question:
def steps_to_miles(user_steps):#defining a method steps_to_miles that takes a variable user_steps
return user_steps/2000#use return to calculate the steps
user_steps = int(input())#defining a variable user_steps that holds value from the user-end
print('%0.2f' % steps_to_miles(user_steps))#defining print that calls the steps_to_miles method
Output:
5345
2.67
Explanation:
In this code a method "steps_to_miles" that takes "user_steps" in the parameter inside the method a return keyword is used that calculates the user steps and return its values.
Outside the method, a "user_steps" variable is declared that inputs the value from the user-end pass into the method and prints its value.