lets say that i made this program
#include<iostream>
int main()
{
double x=0;
std::cin>>x;
std::cout<<x*x;
return 0;
}
and i want to update it so it can print “x*x*x” instead of “x*x”
i know it’s a meaningless program,but can you tell me the concept
of updating
↧