in Education by
2 Write an algorithm to input two numbers and find their sum and difference Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: Write an algorithm to calculate the sum difference product and subtract of two numbers. first Declare 2 variables a ,b. input 2 nos a and b. print sum=a+b. print difference = a-b. print product =a*b.

Related questions

0 votes
    write a program to input three integers and find the difference between their sum and difference Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    WAP in java to input 2 numbers from user and print their difference (Always Positive). Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Algorithm To find out the sum of first 100 even numbers. (only in steps) Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    write a program in python to obtain 3 numbers and print their sum. Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    If two different numbers are taken from the set `{0,1,2,3, ,10};` then the probability that their sum as well ... D. `(7)/(55)` Select the correct answer from above options...
asked Nov 13, 2021 in Education by JackTerrance
0 votes
    write algorithm and flowchart the inputs two numbers swaps these values without using third variable Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    Write an algorithm and draw a flowchart to print prime numbers from 1 to 50 Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    How to write a program in JAVA to print the sum of ASCII values of a particular word input ? Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    write a Java program to input 10 non-zero numbers in an array and display the count of even and odd numbers. URGENT! Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Write an algorithm and flowchart to find perimeter of rectangle and psuedocode of it’s Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    draw a flow chart to find out the average of sum of 4 numbers with steps Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    what is the difference between sum and cumulative sum? how do you perform the two on dataframe? Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    Ankita takes as input 2 integer numbers, a and b, whose value can be between 0 and 31. He stores them as 5 bit ... 4: 9 bits Op 5: Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
...