calculate area and perimeter of rectangle | programming in java | java tutorial | #shorts
Hello 🅿️rogrammers
I am ®️ohit. Welcome to our youtube ©️hannel " Insect of Coding "
🅰️bout this video:
♦️ Programming in Java ke series me aaj hum dekhenge how to Calculate area and perimeter of rectangle.Ummed hai ki aapko ye videos pasand aayegi. Thank You so much😘.......
🔴Step 1:- getting user input by using
import java.util.Scanner();
Scanner sc=new Scanner (System.in);
int length=sc.nextInt();
float breadth= sc.nextFloat();
🔴Step 2:- calculate area and perimeter of rectangle
float area= length*breadth;
float perimeter=2*(length+breadth);
🔴Step 3:- print area and perimeter
System.out.println(" area of rectangle :-"+area+"\n perimeter of rectangle :-"+perimeter);. // here \n prints next message in nextLine
♦️If you want source code and full tutorial video on this topic then tell me in comment
♦️ Subscribe please 🙏
Let's start your programming with ©️language
♦️visit playlist of C language➡️
• Playlist
🔵introduction of c language:- • Video
🔵print hellow word in c programming:- • Video
🔵Escape sequences in c programming:- • Video
🔵using gotoxy() in c programming:- • Video
🔵what is datatypes,variables,format specifiers in c programming:- • Video
🔵what is Ascii code in c programming:- • Video
🔵what is operators? (unary operators in c):- • Video
🔵airthmetic operators in c programming:- • Video
🔵bitwise operators in c programming:- • Video
🔵relational operators in c programming:- • Video
🔵logical operators in c programming:- • Video
🔵use of fflush(stdin) in c:- • Video
🔵Assignments in c language:- • Playlist
♦️Subscribe My channel ➡️ / @insectofcoding
♦️Other Social links
facebook➡️ https://www.facebook.com/profile.php?...
Instagram➡️ https://www.instagram.com/invites/con...
Twitter➡️https://twitter.com/xo2CIrjBfNvh0sp?t...
What'sapp➡️https://chat.whatsapp.com/HQbXVEM1zMdCze
Insect of Coding,insect of coding,java,Java,programming in java,java tutorial for beginners,java tutorial in hindi,Java tutorial in hindi,Programming,Coding,java programming,java full course,java tutorial,java programming tutorial,Getting user input,java programs for practice,java practice problems with solutions,java programming shorts,java program to calculate area and perimeter,Calculate area and perimeter of rectangle,find area and perimeter,shorts
#java_program_to_find_area_and_perimeter_of_rectangle
#findareaandperimeter
#findareaandperimeterofrectangle
#insectofcoding
#Insect_of_Coding
#javaprogram
#javatutorial
#programminginjava
#java_programming_practice
Nesta página do site você pode assistir ao vídeo on-line calculate area and perimeter of rectangle | programming in java | java tutorial | duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Insect of Coding 23 Março 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 236 vezes e gostou 9 espectadores. Boa visualização!