The arithmetic & Assignment Operators in Java Part 9.1 - JAVA ថ្នាក់ទី១ | JAVA For Beginner

Published on ● Video Link: https://www.youtube.com/watch?v=wJQZpX9RV6g



Category:
Tutorial
Duration: 19:46
25 views
2


#រៀនសរសេរកូដជាមួយចិត្រា #javaprogramming #javabasics #codingwithchitra #sololearncoding #corejava
The arithmetic & Assignment Operators in Java Part 9.1

9 Introduction to Operators in Java
Operators ត្រូវបានប្រើដើម្បីអនុវត្តប្រតិបត្តិការលើអញ្ញាត(Variables) និងតម្លៃរបស់វា(Values)។
នៅក្នុងភាសា Java Operators ត្រូវបានគេបែងចែកជាក្រុមដូចខាងក្រោម៖
- Assignment & Arithmetic Operators
- Unary Operators
- The Equality and Relational Operators
- The Conditional Operators
- Bitwise and Bit Shift Operators


ធ្វើច្រើនចេះច្រើន!
ខាងក្រោមនេះជាលំហាត់​​ អ្នកទាំងអស់គ្នាត្រូវចំណាយអោយពេលអោយច្រើន​ នៅជាមួយកូដ​ ទើបធ្វើអោយរីកចម្រើនទៅមុខ។​ កុំពូកែរៀន តែពូកែធ្វើ!
Exercise: Arithmetic operators
1) Write a program that calculates the area and perimeter of a rectangle. The program should prompt the user to enter the length and width of the rectangle, and then display the calculated area and perimeter.

2) Write a program that converts temperature from Celsius to Fahrenheit. The program should prompt the user to enter a temperature in Celsius and then display the equivalent temperature in Fahrenheit. The conversion formula is: Fahrenheit = (Celsius × 9/5) + 32.

3) Write a program that calculates the average of three numbers. The program should prompt the user to enter three numbers, and then display the calculated average.

4) Write a program that swaps the values of two variables without using a temporary variable. The program should prompt the user to enter two numbers, swap their values, and then display the new values of the variables.

5. Write a program that calculates the compound interest. The program should prompt the user to enter the principal amount, interest rate, and the number of years, and then display the calculated compound interest. The formula for compound interest is: Compound Interest = P(1 + r/n)^(nt) - P, where P is the principal amount, r is the annual interest rate, n is the number of times interest is compounded per year, and t is the number of years.


កម្រងវីដេអូមេរៀន JAVA ថ្នាក់ទី១👉 https://youtube.com/playlist?list=PLSJTJj3gU6qhkjSEUmgBKGJnn0ob1NZSu&si=rcvL8CwF_5EGx_2n

កម្រងវីដេអូមេរៀន Python 👉 https://youtube.com/playlist?list=PLSJTJj3gU6qimVFO-iV1pOsxTujdIEAqo&si=EyC1cjq73QNGJYI_


YouTube Channel 👉 https://www.youtube.com/@codingwithchitra
Facebook Page 👉 https://www.facebook.com/khmshared
Telegram Channel 👉 https://t.me/codingwithchitra




Other Videos By Coding with Chitra-សរសេរកូដជាមួយចិត្រា


2024-04-25Part 06-Python - Comments | Coding Python from Zero to Hero
2024-04-25Part 05-Python - Interactive Mode | Coding Python from 0 to Hero
2024-04-23The Unary Operators in Java Part 9.2 - JAVA ថ្នាក់ទី១ | JAVA For Beginner
2024-04-23កំណែលំហាត់ក្នុងមេរៀនទី 7.2 | ប្រភេទ​ទិន្នន័យ​នៅក្នុង​ចាវ៉ា - Data Types in Java Part 7.2.3
2024-04-22Part 7.2.2 កំណែលំហាត់ក្នុងមេរៀន ប្រភេទទិន្នន័យជា លេខគត់ byte, short, int long Part 7.2
2024-04-22Part 7.2.1 កំណែលំហាត់ក្នុងមេរៀន ប្រភេទទិន្នន័យជា លេខគត់ byte, short, int long Part 7.2
2024-04-21កំណែលំហាត់ក្នុងមេរៀនទី 7.1 | ប្រភេទ​ទិន្នន័យ​នៅក្នុង​ចាវ៉ា - Data Types in Java Part 7.1.1
2024-04-18Part 04-Python - Indentation | Coding Python from 0 to Hero
2024-04-13#music #love #travel #cambodia #cambodianewyear #songkran #songkran2024 #songkranfestival #viralvlog
2024-04-11Part 03-Python - Environment Setup | Coding Python from 0 to Hero
2024-04-10The arithmetic & Assignment Operators in Java Part 9.1 - JAVA ថ្នាក់ទី១ | JAVA For Beginner
2024-04-03Part 02-ការណែនាំអំពី ភាសា Python | Introduction to Python | Coding Python from 0 to Hero
2024-04-02Type Casting in Java Part 8 - JAVA ថ្នាក់ទី១ | JAVA For Beginner
2024-04-01Part 01-ការណែនាំអំពី សរសេរកូដ Python ពីចំណុច ០ ទៅជាវិរៈបុរស | Coding Python from 0 to Hero
2024-03-30Coding Python from Zero to Hero with Chitra - coding Song
2024-03-25ដំណើរ​កម្សាន្ត​ទៅ​កាន់​កោះ​រ៉ុង​ #kohrong #relaxing #enjoylife #enjoyment #enjoytime #travelvlog
2024-03-14Tech Talk 001-How to use AI to create images
2024-03-13ប្រភេទទិន្នន័យជាតួអក្សរ char data type នៅក្នុង Primitive Data Types in Java Part 7.5
2024-03-12#javabasics #javaprogramming #codingwithchitra #coding #sololearncoding #codinglife #javatutorial
2024-03-12#javabasics #javaprogramming #codingwithchitra #codinglife #javatutorial #java #javaforbeginner
2024-03-11កំណែលំហាត់ 6.5.1 -​ Managing Students ក្នុងមេរៀន ប្រភេទអញ្ញាតជា Static/Class Variables



Tags:
java
javaforbeginner
coding with chitra
សរសេរកូដជាមួយចិត្រា
java for beginners
java tutorial for beginners
java programming for beginners
beginners
java training
java course
java programming
java 8 course
java tutorial
java 8 tutorial
java 8
java 8 tutorial with examples
java 12
java programming tutorial
learn to code
learn java
tutorial
programming
រៀនសរសេរកូដ
រៀនចាវ៉ា
core java
core java programming
codecademy
codekhmer
codecademy java
sololearn coding