Computer Science, asked by Sakshi0908, 3 months ago

Write a program to display the following pattern. 9 9 9 9 9 9 7 7 7 7 7 7 5 5 5 5 5 5 3 3 3 3 3 3 1 1 1 1 1 1​

Answers

Answered by kbrindha454
1

Answer:

you put in calculated bro

Answered by DarkShadow040
2
The answer is in below image

Explanation:
First you have to initial a variable to 9 and then make a for loop and then converting the variable to string so that we can get multiple values of it like 999999 and then in the loop we have to subtract the variable by 2 and that’s how you get the answer. If this helped you, please Mark me brainliest :)
Attachments:
Similar questions