How to create a CALCULATOR in notepad [Coding Trick]

preview_player
Показать описание

Doing maths problems can be a big task but not making a calculator.

With these simple steps, you can build a calculator in very few minutes.

1. Open a text file after a right-click on the desktop.
2. Copy the below code and paste it into the notepad

@echo off
title batch Calculator by seJma
Color if
:top
echo
echo Welcome to Batch Calculator
echo
Set /p sum=
Set /a ans=%sum%
echo.
echo = %ans%
echo.
pause
cls
echo previous Answer : %ans%
goto top
Pause
exit

Woohoo!!

Your calculator is ready to do maths.

Subscribe now to know more about these coding tricks.

*****About Masai *****
Masai is an outcome-driven career institute where you can study at ₹0 upfront fee & pay us only if you get a job of ₹5,00,000/- per year or more, after course completion. Else, you learn for free.

We are introducing a new model of higher education in which we, Masai, invest in our students’ future and success. As India’s fastest-growing career institute, Masai has one goal: unlocking the human potential of India by making our education system outcome-driven.

***** More on YouTube *****

***** Masai on Social Media *****

#masai #codingtricks #softwaredevelopment #isa #highereducation #career #data #dataanalytics #placements #tech #techjobs #coding #skills #html #css #python #javascript #nodejs #reactjs
Рекомендации по теме
visit shbcf.ru