Make a triangle PQR with PQ = 6 cm, <P = 70 Degre and <Q = 40 Degre. please help me
Answers
Answer:
write a program to generate following output and the output is 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8write a program to generate following output and the output is 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8Here, the user is first asked to enter the number of elements. This number is assigned to n.
If the user entered integer is greater less than 1 or greater than 100, the user is asked to enter the number again. This is done using a while loop.
Then, we have iterated a for loop from i = 0 to i . In each iteration of the loop, the user is asked to enter numbers to calculate the average. These numbers are stored in the num[] array.
Here, the user is first asked to enter the number of elements. This number is assigned to n.
If the user entered integer is greater less than 1 or greater than 100, the user is asked to enter the number again. This is done using a while loop.
Then, we have iterated a for loop from i = 0 to i . In each iteration of the loop, the user is asked to enter numbers to calculate the average. These numbers are stored in the num[] array.