subject

Given two numbers X and Y. Write a pseudo code to determine the difference between X and Y. If X-Y is negative, compute R=X+Y; if X-Y is zero, compute R=2X+2Y; and if X-Y is positive, compute R=X*Y. Print out the values of X, Y and R

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject after the midsemester exams and the end-of-semester exams. she divides the midsemester and end-of-semester information into two separate worksheets, sheet 1 and sheet 2. how will she rename the two worksheets?
Answers: 2
You know the right answer?
Given two numbers X and Y. Write a pseudo code to determine the difference between X and Y. If X-Y i...
Questions
question
Social Studies, 30.09.2019 14:00
question
Geography, 30.09.2019 14:00
question
Chemistry, 30.09.2019 14:00
Questions on the website: 13722363