Question: Part B - [5x5 = 25 Marks] Answer all the questions 16 Draw the flowchart for the following Read the variable theta(t) and X Calculate
Part B - [5x5 = 25 Marks] Answer all the questions 16 Draw the flowchart for the following Read the variable theta(t) and X Calculate the value of Y by using the below formula Y= Vx+cos(0) + es Print the value of Y Note: a) Assume o ist b) Use 3.14/180 for calculating sin(0) Sample Output: Enter the value of x : 5.0 Enter the value oft : 30 The value of Y is : 154.114 17 Write algorithm using if else condition to Read the Frequency of the color Check the Frequency and print the corresponding Color as given in Table 1 using if else statement Table 1 Color Violet Blue Frequency More than 400 300-400 200-299 100-199 Less than 100 Green Yellow Other Color Sample output: Enter the Frequency: 199 Color: Yellow
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
