I am very new to batch, and I have this program that is SUPPOSED to take data in then echo the output of the data, but I need help on making a varible from an equation in cmd. Here is the code to my program. Could anybody tell me what i am doing wrong here? Thanks!
@echo off
title growth factor y varible tool
set/p yintercept=enter the y intercept
echo %yintercept%
set/p exponent=enter the exponent
echo %exponent%
set/p x=enter x value
echo %x%
cls
echo %yintercept%
echo %exponent%
echo %x%
eq = %yintercept% ( %exponent% ^ %x% )
pause >nul