Question: Write an algorithm to answer the following and translate to flowchart and pseudocode form 1. For two given integers, print TRUE if one of them

 Write an algorithm to answer the following and translate to flowchart

Write an algorithm to answer the following and translate to flowchart and pseudocode form 1. For two given integers, print TRUE if one of them is 30 or their sum is 30. Else, print "FALSE. 2. For an input positive integer n, calculate the sum of the first n multiples of 7. 3. Given three input integers, namely x1", "x2", and "x3", print only the unique values. [For example, if the input values are {1, 2, 4}, since all of them are unique, then print {1, 2, 4). On the other hand, if the input values are {1,1,7}, then print only {1,7}] 4. Given four input integers, namely "x1", "x2", "X3", and "x4", calculate the median value without using the median function [i.e., median("x1", "x2", "X3","x4") = m where m is the median value]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!