Blog Oxunjon Gaybullayeva

One of the operators of the Java programming language is the Increment and Decrement operator!

Our lesson will focus on Increment and Decrement operators, which are the heart of loop operators. Let's study the lesson through the video and then do the task given below.

Exercise to do:

  1. Write a java program that asks the user to enter a number and adds and subtracts one from the entered number using the increment and decrement operators!
    Issue:
    Enter a number: 17
    Expected result:

Increment: 18
Decrement: 16

ATTENTION ADVERTISEMENT! A video course on Java programming languages is ready. You can read information about the video course by clicking on the image below:

Рейтинг
( No ratings yet )
Oxunjon G'aybullayev/ author of the article
Понравился этот пост? Поделись с друзьями:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: