Answer:
Hello!
The statement is "if x and y are odd integers, then x + y is even"
and we want to prove it by contradiction.
Suppose that we have x and y odd numbers, and suppose that his addition is odd.
We know that an odd number can be writen as (2n +1) (and a even number can be written as 2n) where n is an integer number; then:
x = (2k + 1) and y = (2m + 1)
and x + y = j, where j is also a odd number, then j = (2h + 1)
then:
2k + 1 + 2m + 1 = 2h + 1
2(k + m) + 2 = 2h + 1
2(k + m) +1 = 2h
if k and m are integers, then k + m is also an integer, suppose that k + m = g
then 2g + 1 = 2h
this says that in odd number is equal to an even number, then we have a contradiction, and the addition of two odd numbers cant be an odd number.
Your main problem was declaring int prod in the while loop. This caused prod to be reset back to 1 every time the while loop ran.
Answer:
2^7= 128
Explanation:
An instruction format characterizes the diverse part of a guidance. The fundamental segments of an instruction are opcode and operands. Here are the various terms identified with guidance design: Instruction set size tells the absolute number of guidelines characterized in the processor. Opcode size is the quantity of bits involved by the opcode which is determined by taking log of guidance set size. Operand size is the quantity of bits involved by the operand. Guidance size is determined as total of bits involved by opcode and operands.
Answer: Unified communication
Explanation: Unified communication is the communication technique in which merges various communication routines into a individual business.It works as the phone system which helps in increment of productivity in an organizational business.
The unifying of voice,data/information,video etc is done for optimizing and improving the business that also results in faster communication rates, secure communication etc.
Answer:
weight_pounds=float(input("Enter the weight in pounds:\n"))#taking input of weight.
height_inches=float(input("Enter the height in inches:\n"))#taking input of thye height.
bmi=(weight_pounds/(height_inches**2))*703#calculating the bmi.
print('The body mass index is '+str(bmi))#printing the result.
Ouput:-
Enter the weight in pounds:
207.8
Enter the height in inches
:
72
The body mass index is 28.163395061728398
Explanation:
The above written program is in python.First I have taken input from the user of the weight in pounds then taking input of the height in inches.Then calculating the bmi and storing it in the variable bmi.Then printing the bmi in the end.