You can perform calculations and store the result in a variable using the bc command like this: result=$(echo "scale=2; 10 / 3" | bc) This sets result to the decimal answer with two decimal places. Adjust the scale value as needed for more precision.
Bro u made some erros while writing that program,plse dont turn off the recording because we can learn how to debbug the errors from you. Thanks for making the video.
Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400. For example, the years 1700, 1800, and 1900 are not leap years, but the years 1600 and 2000 are.
Hello, sorry for huge long back reply, u can install linux on your system, or in a windows environment u can use virtual box, if none available u can try online simulators, as example u can goto this link: www.tutorialspoint.com/execute_bash_online.php