taracoder

it is very popular website your help anytime please search this site asked any question and tag.

Saturday, July 18, 2020

Algorithm flowchat in c programing question

           John bought a toy for Rs. 325 and sold the same for Rs. 458. Explain how we can find if John has made a profit or a loss and write the algorithm for the same.
2.      Write algorithm and flowchart to compute volume of sphere. Use the formula-  v = (4/3) * pi * r3
3.      Suppose you start writing a C program at time T1. At time T2 coding is finished. After compiling code, you get an error, and it took you T3 time to fix the error. Write an algorithm to find the total time you spent in executing this program.

4.      Write the algorithm of following flow chart. 



5.      Draw a flowchart to find all the roots of a quadratic equation ax2+bx+c=0.
6.      Convert the following algorithm into flowchart-
1. Sum=0
2. Count=1
3. REPEAT
4. IF count is even THEN sum=sum + count
5. Count=count+1
6. UNTIL count>20
7. DISPLAY sum
7.      Write an algorithm which generates the table of any number N.
8.      Write an algorithm and flowchart to find whether a number is palindrome or not.

No comments: