DSA
DSA DATA STRUCTUTRE AND ALGORITHM 1.Printing Printing and then moving cursor to next line JS console.log("hello sharpnerians"); Python print("hello sharpnerians") C++ cout<<"hello sharpnerians"<<endl; Java System.out.println("hello sharpnerians"); Printing and cursor remaining same line JS not possible Python print("hello sharpnerians", end="") C++ cout<<"hello sharpnerians"; Java System.out.print("hello sharpnerians"); 2.Variables its a placeholder to store values x=3 //x is the variable Datatype its defined type of the data to be stored primitive data type=it has value Static defined datatype: In some language, datatype should be mention e.g. int x=5 //java Dynamic defined datatype: n some language, datatype should not be mention e.g. x=5 //python import java . util .*; public class Main { public static void add ( int a , int b ) ...