the program accepts an integer N and prints the value N+1, if N is less than 10. Else the program must print the value N-1.
Answers
Answered by
0
Answer:
first read value n
then check the if condition
if condition is true if block executes or else
the else block gets executed
Attachments:
Similar questions